diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-09-26 11:40:06 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2022-09-26 13:29:55 +0200 |
commit | be72af2f9b6aa9ff57ef21eb4e517a74b7c2a2da (patch) | |
tree | ca53068ff57b4115c9c152ab58849620cf49b5a4 /test/functional/ui/screen.lua | |
parent | fe045bfd5f27abd5d55615e14c606d035e4d2533 (diff) | |
download | rneovim-be72af2f9b6aa9ff57ef21eb4e517a74b7c2a2da.tar.gz rneovim-be72af2f9b6aa9ff57ef21eb4e517a74b7c2a2da.tar.bz2 rneovim-be72af2f9b6aa9ff57ef21eb4e517a74b7c2a2da.zip |
fix(cmdline): don't send invalid cursor with incsearch and cmdheight=0
fixes #20306
Diffstat (limited to 'test/functional/ui/screen.lua')
-rw-r--r-- | test/functional/ui/screen.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index 6ee9e7b393..028fa2825d 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -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 |