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 4701981..16723be 100644
--- a/src/testdir/gen_opt_test.vim
+++ b/src/testdir/gen_opt_test.vim
@@ -7,10 +7,13 @@
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