ext_cmdline: fix firstc, change cmdline_leave to cmdline_hide

This commit is contained in:
Dongdong Zhou
2017-05-11 04:48:59 +01:00
committed by Björn Linse
parent daec81ab51
commit e164ba41c8
3 changed files with 11 additions and 14 deletions

View File

@@ -16,7 +16,7 @@ describe('External command line completion', function()
screen:set_on_event_handler(function(name, data)
if name == "cmdline_enter" then
shown = true
elseif name == "cmdline_leave" then
elseif name == "cmdline_hide" then
shown = false
elseif name == "cmdline_show" then
content, pos, firstc, prompt = unpack(data)