diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-06 11:39:06 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-06 11:39:06 +0100 |
commit | c9f5f73206272ccad0aa536854debc5f9781978a (patch) | |
tree | 2d1976965b9052140b4ad929e3f0227721c9c862 /src/testdir/test_cmdline.vim | |
parent | db77cb3c08784e6038dd029271b2080c1b2d9acb (diff) |
patch 9.0.0670: no space for command line when there is a tablinev9.0.0670
Problem: No space for command line when there is a tabline.
Solution: Correct computation of where the command line should be.
(closes #11295)
Diffstat (limited to 'src/testdir/test_cmdline.vim')
-rw-r--r-- | src/testdir/test_cmdline.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim index 3cfdd76480..f27b0918cc 100644 --- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -287,6 +287,16 @@ func Test_changing_cmdheight() call StopVimInTerminal(buf) endfunc +func Test_cmdheight_tabline() + CheckScreendump + + let buf = RunVimInTerminal('-c "set ls=2" -c "set stal=2" -c "set cmdheight=1"', {'rows': 6}) + call VerifyScreenDump(buf, 'Test_cmdheight_tabline_1', {}) + + " clean up + call StopVimInTerminal(buf) +endfunc + func Test_map_completion() call feedkeys(":map <unique> <si\<Tab>\<Home>\"\<CR>", 'xt') call assert_equal('"map <unique> <silent>', getreg(':')) |