mirror of
https://github.com/neovim/neovim.git
synced 2026-04-04 14:49:31 +00:00
fix(cmdline): don't send invalid cursor with incsearch and cmdheight=0
fixes #20306
This commit is contained in:
@@ -769,6 +769,7 @@ end
|
||||
|
||||
function Screen:_handle_grid_cursor_goto(grid, row, col)
|
||||
self._cursor.grid = grid
|
||||
assert(row >= 0 and col >= 0)
|
||||
self._cursor.row = row + 1
|
||||
self._cursor.col = col + 1
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user