input: consider "-- more --" state to be blocking, fixes #11899

This commit is contained in:
Björn Linse
2020-02-19 11:00:09 +01:00
parent a1ed941a78
commit 4cdc8b1efd
2 changed files with 7 additions and 1 deletions

View File

@@ -972,6 +972,12 @@ describe('API', function()
nvim("input", "gu")
eq({mode='no', blocking=false}, nvim("get_mode"))
end)
it("at '-- More --' prompt returns blocking=true #11899", function()
command('set more')
feed(':digraphs<cr>')
eq({mode='rm', blocking=true}, nvim("get_mode"))
end)
end)
describe('RPC (K_EVENT) #6166', function()