diff options
| author | Mikael Magnusson <mikachu@gmail.com> | 2026-06-05 17:36:31 +0200 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@gmail.com> | 2026-06-10 05:20:50 +0200 |
| commit | 0ee2835f13ae19a04a3b1e5d27476d35e7a04634 (patch) | |
| tree | 578956badafca1a0cc629dc464f07f0d5181d0b8 /Completion/Unix/Command/_lua | |
| parent | 54674: ::= didn't respect parameter flags (diff) | |
| download | zsh-0ee2835f13ae19a04a3b1e5d27476d35e7a04634.tar zsh-0ee2835f13ae19a04a3b1e5d27476d35e7a04634.tar.gz zsh-0ee2835f13ae19a04a3b1e5d27476d35e7a04634.tar.bz2 zsh-0ee2835f13ae19a04a3b1e5d27476d35e7a04634.tar.lz zsh-0ee2835f13ae19a04a3b1e5d27476d35e7a04634.tar.xz zsh-0ee2835f13ae19a04a3b1e5d27476d35e7a04634.tar.zst zsh-0ee2835f13ae19a04a3b1e5d27476d35e7a04634.zip | |
54683: fix for ctrl-r with combining characters or nonprintable wide chars
Typing one of these characters in isearch caused the terminal cursor to
jump to the wrong row, and various other problems, because we totally
lost track of things.
Make use of addmultiword() to draw the combining characters, analogously
to how the main input line does it. This resolves ccs/vcs getting out of
sync with the display, because there are no top level glyphs of zero
width anymore.
The code seems to simply have forgotten about nonprintable wide
characters that weren't ascii control characters, so handle those like
in the main line redraw code.
I didn't bother handling the ZSH_INVALID_WCHAR range because I don't see
how you could possibly insert one of those in the isearch buffer. If you
manage to do this, congratulations.
Diffstat (limited to 'Completion/Unix/Command/_lua')
0 files changed, 0 insertions, 0 deletions
