forked from aniani/vim
Problem: The cursor screen row was incorrectly being calculated when the
cursor follows a 1 character text_align 'below' virtual text line,
resulting in the cursor being shown on the wrong line.
This was caused by a cell size of 2 instead of 1 being used for the EOL
character, which propagated to the calculation of space for putting the
'below' virtual text on its own line. (rickhowe)
Solution: Fix the size used for the EOL character in calculating the
cursor's screen position (Dylan Thacker-Smith)
fixes: #11959
related: #12028
closes: #14096
Signed-off-by: Dylan Thacker-Smith <dylan.ah.smith@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
17 lines
981 B
Plaintext
17 lines
981 B
Plaintext
| +0#af5f00255#ffffff0@3|-+0#0000001#ffff4012| +0#0000000#ffffff0@54
|
|
| +0#af5f00255&@1|1| |1+0#0000000&@7|$+0#4040ff13&| +0#0000000&@46
|
|
| +0#af5f00255&@3|++0#0000001#ffff4012| +0#0000000#ffffff0@54
|
|
| +0#af5f00255&@3|-+0#0000001#ffff4012| +0#0000000#ffffff0@54
|
|
| +0#af5f00255&@1|2| |$+0#4040ff13&| +0#0000000&@54
|
|
| +0#af5f00255&@3|++0#0000001#ffff4012| +0#0000000#ffffff0@54
|
|
| +0#af5f00255&@3|-+0#0000001#ffff4012| +0#0000000#ffffff0@54
|
|
| +0#af5f00255&@1|3| |3+0#0000000&@8|$+0#4040ff13&| +0#0000000&@45
|
|
| +0#af5f00255&@3|++0#0000001#ffff4012| +0#0000000#ffffff0@54
|
|
| +0#af5f00255&@3|-+0#0000001#ffff4012| +0#0000000#ffffff0@54
|
|
| +0#af5f00255&@1|4| |$+0#4040ff13&| +0#0000000&@54
|
|
| +0#af5f00255&@3|++0#0000001#ffff4012| +0#0000000#ffffff0@54
|
|
| +0#af5f00255&@3|-+0#0000001#ffff4012| +0#0000000#ffffff0@54
|
|
| +0#af5f00255&@1|5| >5+0#0000000&@10|$+0#4040ff13&| +0#0000000&@43
|
|
| +0#af5f00255&@3|++0#0000001#ffff4012| +0#0000000#ffffff0@54
|
|
|:|s|e|t| |l|i|s|t| @32|5|,|1|-|5|7| @7|A|l@1|
|