Mercurial > vim
view src/testdir/dumps/Test_display_fillchars_2.dump @ 34977:74f789d0adb1 v9.1.0344
patch 9.1.0344: Cursor wrong after using setcellwidth() in terminal
Commit: https://github.com/vim/vim/commit/e20fa59903525e15cecd680a2f32ece8a5d1bc0c
Author: mikoto2000 <mikoto2000@gmail.com>
Date: Wed Apr 17 22:06:54 2024 +0200
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 17 Apr 2024 22:15:02 +0200 |
parents | 9dce192d1ac2 |
children |
line wrap: on
line source
>w+0&#ffffff0|i|n|d|o|w| |2| @28|++1&&|w+0&&|i|n|d|o|w| |1| @28 |w|i|n|d|o|w| |2| @28|++1&&|w+0&&|i|n|d|o|w| |1| @28 |w|i|n|d|o|w| |2| @28|++1&&|w+0&&|i|n|d|o|w| |1| @28 |y+0#4040ff13&| @35|++1#0000000&|x+0#4040ff13&| @35 |[+3#0000000&|N|o| |N|a|m|e|]| |[|+|]|2@5|1|,|1|2@11|A|l@1|2|[+1&&|N|o| |N|a|m|e|]| |[|+|]|a@5|1|,|1|a@11|A|l@1 |w+0&&|i|n|d|o|w| |4| @28|>+1&&|w+0&&|i|n|d|o|w| |3| @28 |w|i|n|d|o|w| |4| @28|>+1&&|w+0&&|i|n|d|o|w| |3| @28 |w|i|n|d|o|w| |4| @28|>+1&&|w+0&&|i|n|d|o|w| |3| @28 |o+0#4040ff13&| @35|>+1#0000000&|z+0#4040ff13&| @35 |o| @35|>+1#0000000&|z+0#4040ff13&| @35 |[+1#0000000&|N|o| |N|a|m|e|]| |[|+|]|d@5|1|,|1|d@11|A|l@1|d|[|N|o| |N|a|m|e|]| |[|+|]|c@5|1|,|1|c@11|A|l@1 |:+0&&|w|i|n|c|m|d| |k| @65