Permalink
Browse files

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.
  • Loading branch information...
brammool committed Mar 9, 2017
1 parent 41042f3 commit ee1dd1cdc1f9a07e53b792e8762f515213b10c8a
Showing with 5 additions and 0 deletions.
  1. +3 −0 src/testdir/gen_opt_test.vim
  2. +2 −0 src/version.c
@@ -7,10 +7,13 @@ if 1
set nomore
+" The terminal size is restored at the end.
+" Clear out t_WS, we don't want to resize the actual terminal.
let script = [
\ 'let save_columns = &columns',
\ 'let save_lines = &lines',
\ 'let save_term = &term',
+ \ 'set t_WS=',
\ ]
/#define p_term
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 436,
/**/
435,
/**/

0 comments on commit ee1dd1c

Please sign in to comment.