diff options
| author | Mikael Magnusson <mikachu@gmail.com> | 2026-06-06 04:12:33 +0200 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@gmail.com> | 2026-06-10 05:20:51 +0200 |
| commit | ef1cd684ccb068a698ae2a7da28597259c1c3308 (patch) | |
| tree | c2607b318fa87ec02a625cf8303860cff12883d2 /Completion/Unix/Command/_diff | |
| parent | 54683: fix for ctrl-r with combining characters or nonprintable wide chars (diff) | |
| download | zsh-ef1cd684ccb068a698ae2a7da28597259c1c3308.tar zsh-ef1cd684ccb068a698ae2a7da28597259c1c3308.tar.gz zsh-ef1cd684ccb068a698ae2a7da28597259c1c3308.tar.bz2 zsh-ef1cd684ccb068a698ae2a7da28597259c1c3308.tar.lz zsh-ef1cd684ccb068a698ae2a7da28597259c1c3308.tar.xz zsh-ef1cd684ccb068a698ae2a7da28597259c1c3308.tar.zst zsh-ef1cd684ccb068a698ae2a7da28597259c1c3308.zip | |
54686: count lines in showmsg more correctly
If you do this,
wide() { zle -M ${(l:$COLUMNS::a:)} }; zle -N wide; bindkey W wide
then we would move the cursor up one row too many after printing the
message.
The hunks with 1 + are triggered by this (one is MULTIBYTE the other not),
wide() { zle -M ${(l:$COLUMNS::a:)}$'\n'b }; zle -N wide; bindkey W wide
Diffstat (limited to 'Completion/Unix/Command/_diff')
0 files changed, 0 insertions, 0 deletions
