summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_lua
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2026-06-05 17:36:31 +0200
committerMikael Magnusson <mikachu@gmail.com>2026-06-10 05:20:50 +0200
commit0ee2835f13ae19a04a3b1e5d27476d35e7a04634 (patch)
tree578956badafca1a0cc629dc464f07f0d5181d0b8 /Completion/Unix/Command/_lua
parent54674: ::= didn't respect parameter flags (diff)
downloadzsh-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