aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/messages_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-18 06:23:11 +0800
committerGitHub <noreply@github.com>2024-04-18 06:23:11 +0800
commit562719033ec8bec9f6d56c166b9aef13f8a50a96 (patch)
treecef907a538f9bbcf31c5072dedd9842e3f5ff40f /test/functional/ui/messages_spec.lua
parentde6eb96fc92ed73237080c1d6a342844fda036fc (diff)
downloadrneovim-562719033ec8bec9f6d56c166b9aef13f8a50a96.tar.gz
rneovim-562719033ec8bec9f6d56c166b9aef13f8a50a96.tar.bz2
rneovim-562719033ec8bec9f6d56c166b9aef13f8a50a96.zip
vim-patch:9.1.0343: 'showcmd' wrong for partial mapping with multibyte (#28392)
Problem: 'showcmd' is wrong for partial mapping with multibyte char, and isn't very readable with modifyOtherKeys. Solution: Decode multibyte char and merge modifiers into the char. (zeertzjq) This improves the following situations: - Multibyte chars whose individual bytes are considered unprintable are now shown properly in 'showcmd' area. - Ctrl-W with modifyOtherKeys now shows ^W in 'showcmd' area. The following situation may still need improvement: - If the char is a special key or has modifiers that cannot be merged into it, internal keycodes are shown in 'showcmd' area like before. This applies to keys typed in Normal mode commands as well, and it's hard to decide how to make it more readable due to the limited space taken by 'showcmd', so I'll leave it for later. closes: vim/vim#14572 https://github.com/vim/vim/commit/acdfb8a97995e0f81832207e39564ba795281108
Diffstat (limited to 'test/functional/ui/messages_spec.lua')
0 files changed, 0 insertions, 0 deletions