Mercurial > vim
changeset 11097:d32c9d8fa01a v8.0.0436
patch 8.0.0436: running the options test sometimes resizes the terminal
commit https://github.com/vim/vim/commit/ee1dd1cdc1f9a07e53b792e8762f515213b10c8a
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 9 13:55:01 2017 +0100
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 09 Mar 2017 14:00:05 +0100 |
parents | 64528ea6769b |
children | 1afd2c838f52 |
files | src/testdir/gen_opt_test.vim src/version.c |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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