hotkey_handler: return true on prefix handled

This commit is contained in:
Andrew Dolgov 2017-05-05 11:33:43 +03:00
parent fa1be041c2
commit 0ae7de6d91
1 changed files with 3 additions and 1 deletions

View File

@ -894,7 +894,9 @@ function hotkey_handler(e) {
Element.show(cmdline);
e.stopPropagation();
return false;
// returning false here literally disables ctrl-c in browser lol (because C is a valid prefix)
return true;
}
Element.hide(cmdline);