comparison src/testdir/gen_opt_test.vim @ 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 ae86651164d7
children c3504890b37d
comparison
equal deleted inserted replaced
11096:64528ea6769b 11097:d32c9d8fa01a
5 " Only do this when build with the +eval feature. 5 " Only do this when build with the +eval feature.
6 if 1 6 if 1
7 7
8 set nomore 8 set nomore
9 9
10 " The terminal size is restored at the end.
11 " Clear out t_WS, we don't want to resize the actual terminal.
10 let script = [ 12 let script = [
11 \ 'let save_columns = &columns', 13 \ 'let save_columns = &columns',
12 \ 'let save_lines = &lines', 14 \ 'let save_lines = &lines',
13 \ 'let save_term = &term', 15 \ 'let save_term = &term',
16 \ 'set t_WS=',
14 \ ] 17 \ ]
15 18
16 /#define p_term 19 /#define p_term
17 let end = line('.') 20 let end = line('.')
18 21