alien icon indicating copy to clipboard operation
alien copied to clipboard

Last line is sometimes (randomly?) overwritten

Open Syndamia opened this issue 2 years ago • 1 comments

Describe the bug Sometimes, the last line of text in the terminal output is overwritten by the prompt.

To Reproduce No real clue, I've been holding off making this issue for that reason alone. But I switched to alien in late December 2020, and this problem seems to has persisted across many different system configurations.

Even though, I do believe just pressing enter for long enough will show the issue, it's really inconsistent.

Expected behavior Do no overwriting of previous lines and leave all stdout output as-is.

Screenshots

  • Here, after typing terminator --version the first time, it overwrites the output with the prompt, but the second time the command is issued it works as it should image
  • This is a more extreme case of the prompt overwriting it's own line, it happened after pressing enter for long enough. image

Environment:

  • Plugin Manager: None, I just source the alien.zsh file
  • ZSH Version: zsh 5.8
  • Operating System: Funtoo (also experienced with Fedora 33 and 34)
  • Terminal Emulator: terminator 1.91 (also experienced in 2.1.1; I'm pretty sure it also occurred in xterm)

Update: I don't use alien anymore, but my old .zshrc file can be found here, with relevant settings in it's Alien section.

Syndamia avatar Mar 19 '22 19:03 Syndamia

I experience the same issue since today. until today, I didn't have this problem.

no plugin manager (sourced alien.zsh) zsh 5.8.1 (x86_64-ubuntu-linux-gnu) os: ubuntu 22.10 (on WSL2)

disabling sourcing alien theme resolves the issue. disabling "newline" from the prompt also resolves the issue.

possybility avatar Dec 21 '22 15:12 possybility