forked from aniani/vim
patch 9.1.0708: Recursive window update does not account for reset skipcol
Problem: Window is updated with potentially invalid skipcol in recursive
window update path. I.e. cursor outside of visible range in
large line that does not fit.
Solution: Make sure it is valid (Luuk van Baal).
closes: #15605
Signed-off-by: Luuk van Baal <luukvbaal@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
9abd02d16a
commit
3d5065fc75
@@ -1162,7 +1162,6 @@ func Test_smooth_long_scrolloff()
|
||||
END
|
||||
call writefile(lines, 'XSmoothLongScrolloff', 'D')
|
||||
let buf = RunVimInTerminal('-u NONE -S XSmoothLongScrolloff', #{rows: 8, cols: 40})
|
||||
"FIXME: empty screen due to reset_skipcol()/curs_columns() shenanigans
|
||||
call term_sendkeys(buf, ":norm j721|\<CR>")
|
||||
call VerifyScreenDump(buf, 'Test_smooth_long_scrolloff_1', {})
|
||||
|
||||
@@ -1182,7 +1181,6 @@ func Test_smooth_long_scrolloff()
|
||||
call VerifyScreenDump(buf, 'Test_smooth_long_scrolloff_6', {})
|
||||
|
||||
call term_sendkeys(buf, "gk")
|
||||
"FIXME: empty screen due to reset_skipcol()/curs_columns() shenanigans
|
||||
call VerifyScreenDump(buf, 'Test_smooth_long_scrolloff_7', {})
|
||||
|
||||
call StopVimInTerminal(buf)
|
||||
|
||||
Reference in New Issue
Block a user