Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: unicode in prompt breaks command search
Zsh can figure out how many columns Unicode characters take provided
that you configure locale correctly. The most common reason why Zsh
might think that every byte is one character is because the encoding
in the current locale is not UTF-8.
There might be other reasons for the behavior you describe. This entry
from powerlevel10k FAQ can be helpful in diagnosing the problem:
https://github.com/romkatv/powerlevel10k/blob/master/README.md#why-is-my-cursor-in-the-wrong-place.
It's mostly not specific to powerlevel10k.
Roman.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author