Mercurial > vim
diff src/testdir/screendump.vim @ 13845:f22db93bd887 v8.0.1794
patch 8.0.1794: duplicate term options after renaming
commit https://github.com/vim/vim/commit/b833c1ef7be1ed216a967dd7262473ec97084fa2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 5 16:36:06 2018 +0200
patch 8.0.1794: duplicate term options after renaming
Problem: Duplicate term options after renaming.
Solution: Remove the old names 'termkey', 'termsize' and 'terminalscroll'.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 05 May 2018 16:45:05 +0200 |
parents | 415185e2c970 |
children | dc67449d648c |
line wrap: on
line diff
--- a/src/testdir/screendump.vim +++ b/src/testdir/screendump.vim @@ -57,7 +57,7 @@ func RunVimInTerminal(arguments, options " Add -v to have gvim run in the terminal (if possible) let cmd .= ' -v ' . a:arguments let buf = term_start(cmd, {'curwin': 1, 'term_rows': rows, 'term_cols': cols}) - if &termsize == '' + if &termwinsize == '' call assert_equal([rows, cols], term_getsize(buf)) else let rows = term_getsize(buf)[0]