1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar 2017-03-09 13:55:01 +01:00
parent 41042f3cfd
commit ee1dd1cdc1
2 changed files with 5 additions and 0 deletions

View File

@ -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 File

@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
436,
/**/
435,
/**/