diff options
-rw-r--r-- | test/old/testdir/test_termcodes.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/old/testdir/test_termcodes.vim b/test/old/testdir/test_termcodes.vim index 8587659334..546c5c821c 100644 --- a/test/old/testdir/test_termcodes.vim +++ b/test/old/testdir/test_termcodes.vim @@ -86,6 +86,12 @@ func Test_xterm_mouse_drag_window_separator() let rowseparator = winheight(0) + 1 let row = rowseparator let col = 1 + + if ttymouse_val ==# 'xterm' && row > 223 + " When 'ttymouse' is 'xterm', row/col bigger than 223 are not supported. + continue + endif + call MouseLeftClick(row, col) let row -= 1 @@ -137,6 +143,12 @@ func Test_xterm_mouse_drag_statusline() let rowstatusline = winheight(0) + 1 let row = rowstatusline let col = 1 + + if ttymouse_val ==# 'xterm' && row > 223 + " When 'ttymouse' is 'xterm', row/col bigger than 223 are not supported. + continue + endif + call MouseLeftClick(row, col) let row -= 1 call MouseLeftDrag(row, col) |