Skip to content

Commit ee1dd1c

Browse files
committed
patch 8.0.0436: running the options test sometimes resizes the terminal
Problem: Running the options test sometimes resizes the terminal. Solution: Clear out t_WS.
1 parent 41042f3 commit ee1dd1c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/testdir/gen_opt_test.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,13 @@ if 1
77

88
set nomore
99

10+
" The terminal size is restored at the end.
11+
" Clear out t_WS, we don't want to resize the actual terminal.
1012
let script = [
1113
\ 'let save_columns = &columns',
1214
\ 'let save_lines = &lines',
1315
\ 'let save_term = &term',
16+
\ 'set t_WS=',
1417
\ ]
1518

1619
/#define p_term

src/version.c

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

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
436,
767769
/**/
768770
435,
769771
/**/

0 commit comments

Comments
 (0)