Long commands sometimes vanish on typing
Closed this issue · 3 comments
vadviktor commented
In both ZSH and BASH sometimes when I'm typing long instructions, the line of text may become invisible for some reason.
jtyr commented
I have noticed this as well. But if I maximize the shell window the problem disappears. Is that something to do with the colors and their interpretation in the shell emulator? I have tested it in Terminator and Konsole.
vadviktor commented
I believe it has some connection to how the terminal emulators react to not having their "non-printing" characters added to the text. Simply I have not found a way to add \[
and \]
(tput sgr0) to surround the colour codes (in ZSH they are {%
and }%
. Adding the ZSH ones make no difference to what I have observed. Some solid way of reproducing the issue would help.