diff options
author | Luuk van Baal <luukvbaal@gmail.com> | 2024-05-16 20:44:09 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-05-16 20:44:09 +0200 |
commit | b32055e504ebd4f6183a93b92b08d61dad61c841 (patch) | |
tree | 708aebf9a879d5d3de1e671ebf06a754f968e778 /src/testdir/dumps/Test_smooth_long_6.dump | |
parent | f5c8f520baed35584a456f25b038d59f41d420b6 (diff) |
patch 9.1.0414: Unable to leave long line with 'smoothscroll' and 'scrolloff'v9.1.0414
Problem: Unable to leave long line with 'smoothscroll' and 'scrolloff'.
Corrupted screen near the end of a long line with 'scrolloff'.
(Ernie Rael, after 9.1.0280)
Solution: Only correct cursor in case scroll_cursor_bot() was not itself
called to make the cursor visible. Avoid adjusting for
'scrolloff' beyond the text line height (Luuk van Baal)
fixes: #14726
closes: #14783
Signed-off-by: Luuk van Baal <luukvbaal@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/testdir/dumps/Test_smooth_long_6.dump')
-rw-r--r-- | src/testdir/dumps/Test_smooth_long_6.dump | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/dumps/Test_smooth_long_6.dump b/src/testdir/dumps/Test_smooth_long_6.dump index 507aa460da..ba48c2825f 100644 --- a/src/testdir/dumps/Test_smooth_long_6.dump +++ b/src/testdir/dumps/Test_smooth_long_6.dump @@ -3,4 +3,4 @@ |t|s| |o|f| |t|e|x|t| |w|i|t|h| |l|o|t|s| |o|f| |t|e|x|t| |w|i|t|h| |l|o|t|s| |o |f| |t|e|x|t| |w|i|t|h| |l|o|t|s| |o|f| |t|e|x|t| |w|i|t|h| |l|o|t|s| |o|f| |t|e |x|t| |w|i|t|h| |l|o|t|s| |o|f| |t|e|x|t| |w|i|t|h| |l|o|t|s| |o|f| |t|e|x|t| |w -|:|s|e|t| |s|c|r|o|l@1|o| @9|3|,|9|0| @9|6@1|%| +| @21|3|,|9|0| @9|6@1|%| |