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

View file

@ -894,7 +894,9 @@ function hotkey_handler(e) {
Element.show(cmdline); Element.show(cmdline);
e.stopPropagation(); 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); Element.hide(cmdline);