From: Bram Moolenaar Date: Thu, 9 Mar 2017 12:55:01 +0000 (+0100) Subject: patch 8.0.0436: running the options test sometimes resizes the terminal X-Git-Tag: v8.0.0436 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee1dd1cdc1f9a07e53b792e8762f515213b10c8a;p=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. --- diff --git a/src/testdir/gen_opt_test.vim b/src/testdir/gen_opt_test.vim index 4701981ee..16723be04 100644 --- a/src/testdir/gen_opt_test.vim +++ b/src/testdir/gen_opt_test.vim @@ -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 diff --git a/src/version.c b/src/version.c index 1eea36e91..870b66b46 100644 --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 436, /**/ 435, /**/