fix(cmdwin): implement Enter/Ctrl-C as builtins

What echasnovski wants, echasnovski gets.
This commit is contained in:
Justin M. Keyes
2026-06-26 20:20:18 +02:00
parent 5675c11910
commit 496af49bda
5 changed files with 61 additions and 41 deletions

View File

@@ -126,7 +126,7 @@ describe('cmdwin', function()
})
]])
feed('q:')
n.poke_eventloop() -- Ensure q: is processed before the <C-C> mapping fires.
n.poke_eventloop() -- Ensure q: is processed before <C-C>.
feed('<C-C>')
eq({ 'enter::', 'leave::' }, exec_lua('return _G.events'))
end)