reopen command line after error

This commit is contained in:
Shin'ya Ueoka 2017-09-03 17:41:01 +09:00
parent e0bff54a82
commit 29f82d3a7f
3 changed files with 17 additions and 5 deletions

View file

@ -91,7 +91,9 @@ window.addEventListener("keypress", (e) => {
messages.receive(window, (message) => {
switch (message.type) {
case 'vimvixen.command.blur':
vvConsole.hide();
if (!vvConsole.isErrorShown()) {
vvConsole.hide();
}
break;
case 'vimvixen.command.enter':
browser.runtime.sendMessage({