eendroroy / alien

An asynchronous zsh prompt
https://eendroroy.github.io/alien
MIT License
307 stars 45 forks source link

Last line is sometimes (randomly?) overwritten #39

Open Syndamia opened 2 years ago

Syndamia commented 2 years ago

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

Environment:

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

ghost commented 1 year ago

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.