Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Zsh line editor backwards delete



Hi guys

I am using zsh version 5.8 (and oh-my-zsh) under WSL2 and observed the following effect (in both Windows Terminal and PuTTY):

When creating a longer line with several words in it:

db@machine: 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 1234 

and then backspacing (either with just Backspace or Meta-Backspace or the like) the text is actually deleted in the line buffer but there are characters remaining on the screen.

db@machine➜    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1

 I think this easily reproducible 🙂 I know this is not always the case, so if not, please contact me for more analysis.

This does not happen within bash e.g.

Is there some broken optimization going on? 

Keep on the wonderful work. 

Dieter







Messages sorted by: Reverse Date, Date, Thread, Author