vim-patch:8.2.0921: CTRL-W T in cmdline window causes trouble

Problem:    CTRL-W T in cmdline window causes trouble.
Solution:   Disallow CTRL-W T in the cmdline window.  Add more tests.
            (Naruhiko Nishino, closes vim/vim#6219)
4fdb8bd054

Test already passes in Nvim because of later patches.
Move Test_cmdwin_jump_to_win() to the right place.
This commit is contained in:
zeertzjq
2022-07-14 20:31:19 +08:00
parent b41f2bcae7
commit 08235b6f2a
2 changed files with 38 additions and 16 deletions

View File

@@ -331,6 +331,7 @@ newwindow:
// move window to new tab page
case 'T':
CHECK_CMDWIN;
if (one_window(curwin)) {
msg(_(m_onlyone));
} else {