hotkey_handler: return true on prefix handled
This commit is contained in:
parent
fa1be041c2
commit
0ae7de6d91
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue