Skip to content

Commit 33c5e9f

Browse files
committed
patch 8.1.0026: terminal test fails with very tall terminal
Problem: Terminal test fails with very tall terminal. (Tom) Solution: Fix the terminal window size in the test.
1 parent e5fa111 commit 33c5e9f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/testdir/test_terminal.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ func Test_terminal_scroll()
270270
endfunc
271271

272272
func Test_terminal_scrollback()
273-
let buf = Run_shell_in_terminal({})
273+
let buf = Run_shell_in_terminal({'term_rows': 15})
274274
set termwinscroll=100
275275
call writefile(range(150), 'Xtext')
276276
if has('win32')

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
26,
764766
/**/
765767
25,
766768
/**/

0 commit comments

Comments
 (0)