input.c: Process only safe events before blocking.

Introduce multiqueue_process_priority() to process only events at or
above a certain priority.
This commit is contained in:
Justin M. Keyes
2017-03-14 00:44:03 +01:00
parent 3ea1007753
commit acfd2a2a29
7 changed files with 84 additions and 79 deletions

View File

@@ -9,7 +9,6 @@ local funcs = helpers.funcs
local request = helpers.request
local meth_pcall = helpers.meth_pcall
local command = helpers.command
local wait = helpers.wait
describe('api', function()
before_each(clear)
@@ -222,13 +221,6 @@ describe('api', function()
end)
end)
local function appendfile(fname, text)
local file = io.open(fname, 'a')
file:write(text)
file:flush()
file:close()
end
describe('nvim_get_mode', function()
it("during normal-mode `g` returns blocking=true", function()
nvim("input", "o") -- add a line