]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0344: Cursor wrong after using setcellwidth() in terminal v9.1.0344
authormikoto2000 <mikoto2000@gmail.com>
Wed, 17 Apr 2024 20:06:54 +0000 (22:06 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 17 Apr 2024 20:06:54 +0000 (22:06 +0200)
commite20fa59903525e15cecd680a2f32ece8a5d1bc0c
tree3d98c187460597c6d76c28b16faab77723425213
parentacdfb8a97995e0f81832207e39564ba795281108
patch 9.1.0344: Cursor wrong after using setcellwidth() in terminal

Problem:  Cursor wrong after using setcellwidth() in terminal
          (mikoto2000)
Solution: output additional spaces, so the behaviour matches the GUI
          (mikoto2000)

fixes: #14539
closes: #14540

Signed-off-by: mikoto2000 <mikoto2000@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Fix CUI `setcellwidths` characters draw behavior to same GUI behavior.
src/mbyte.c
src/proto/mbyte.pro
src/screen.c
src/testdir/dumps/Test_setcellwidths_with_non_ambiwidth_character_dump_1.dump [new file with mode: 0644]
src/testdir/dumps/Test_setcellwidths_with_non_ambiwidth_character_dump_2.dump [new file with mode: 0644]
src/testdir/test_utf8.vim
src/version.c