fix(ui): inccomand performance degradation

It was broken since the introduction of the macro.
This commit is contained in:
KillTheMule
2020-10-12 18:01:43 +02:00
committed by bfredl
parent 969d600f2a
commit 54cec455cc
2 changed files with 16 additions and 11 deletions

View File

@@ -4,6 +4,7 @@ local clear, feed = helpers.clear, helpers.feed
local source = helpers.source
local command = helpers.command
local assert_alive = helpers.assert_alive
local uname = helpers.uname
local function new_screen(opt)
local screen = Screen.new(25, 5)
@@ -824,7 +825,7 @@ describe('cmdline redraw', function()
end)
it('with <Cmd>', function()
if 'openbsd' == helpers.uname() then
if string.find(uname(), 'bsd') then
pending('FIXME #10804')
end
command('cmap a <Cmd>call sin(0)<CR>') -- no-op