diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-09-26 13:30:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-26 13:30:19 +0200 |
commit | c7e74f78896ffe933e9e411563eaaaacca2622ce (patch) | |
tree | 55ad87ed71653c79d7a562733e53bde0011cd2ba /test/functional/ui/screen.lua | |
parent | c815aadfccd6bada47ecfb09fe188ee7f7c5caf3 (diff) | |
parent | be72af2f9b6aa9ff57ef21eb4e517a74b7c2a2da (diff) | |
download | rneovim-c7e74f78896ffe933e9e411563eaaaacca2622ce.tar.gz rneovim-c7e74f78896ffe933e9e411563eaaaacca2622ce.tar.bz2 rneovim-c7e74f78896ffe933e9e411563eaaaacca2622ce.zip |
Merge pull request #20351 from bfredl/cmdfix2
fix(cmdline): don't send invalid cursor with incsearch and cmdheight=0
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 |