Mercurial > vim
diff src/testdir/test_terminal.vim @ 13537:3fa880445c99 v8.0.1642
patch 8.0.1642: running Vim in terminal fails with two windows
commit https://github.com/vim/vim/commit/15a1c3fdc19499c267e4dc664aa0de9d65a08cad
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 25 18:56:25 2018 +0200
patch 8.0.1642: running Vim in terminal fails with two windows
Problem: Running Vim in terminal fails with two windows.
Solution: Pass the number of rows to RunVimInTerminal().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 25 Mar 2018 19:00:07 +0200 |
parents | e9ffb5b35266 |
children | 5f543bce50e8 |
line wrap: on
line diff
--- a/src/testdir/test_terminal.vim +++ b/src/testdir/test_terminal.vim @@ -1064,7 +1064,7 @@ func Test_terminal_api_drop_oldwin() \ 'redraw', \ "set t_ts=", \ ], 'Xscript') - let buf = RunVimInTerminal('-S Xscript', {}) + let buf = RunVimInTerminal('-S Xscript', {'rows': 10}) call WaitFor({-> expand('%:t') =='Xtextfile'}) call assert_equal(textfile_winid, win_getid())