diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-09 13:55:01 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-09 13:55:01 +0100 |
commit | ee1dd1cdc1f9a07e53b792e8762f515213b10c8a (patch) | |
tree | d9fad884aa0316d8692a02be302f909860a20da3 /src/testdir/gen_opt_test.vim | |
parent | 41042f3cfdb91f946e553456278a995e61dd8578 (diff) |
patch 8.0.0436: running the options test sometimes resizes the terminalv8.0.0436
Problem: Running the options test sometimes resizes the terminal.
Solution: Clear out t_WS.
Diffstat (limited to 'src/testdir/gen_opt_test.vim')
-rw-r--r-- | src/testdir/gen_opt_test.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/gen_opt_test.vim b/src/testdir/gen_opt_test.vim index 4701981ee8..16723be04c 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 |