fix(ui): check for cmdline mode properly (#35202)

This commit is contained in:
zeertzjq
2025-08-07 12:22:01 +08:00
committed by GitHub
parent c47a69c1a6
commit 5f9f706462
8 changed files with 31 additions and 12 deletions

View File

@@ -10470,6 +10470,15 @@ describe('float window', function()
]],
})
end
command('set keymap=dvorak')
feed('<C-^>')
screen:expect_unchanged()
feed('<C-^>')
command('set keymap&')
screen:expect_unchanged()
feed('<ESC>')
-- Show cursor after switching to a normal window (hide=false).