mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test: Fix eol_clear in screen.lua
It should only clear to the end of the current scroll region(this is the behavior expected by nvim)
This commit is contained in:
parent
a684cc175a
commit
209b5ed6ba
@ -190,7 +190,7 @@ end
|
||||
|
||||
function Screen:_handle_eol_clear()
|
||||
local row, col = self._cursor.row, self._cursor.col
|
||||
self:_clear_block(row, 1, col, self._width - col)
|
||||
self:_clear_block(row, 1, col, self._scroll_region.right - col)
|
||||
end
|
||||
|
||||
function Screen:_handle_cursor_goto(row, col)
|
||||
|
Loading…
Reference in New Issue
Block a user