hotkey_handler: return true on prefix handled
This commit is contained in:
parent
fa1be041c2
commit
0ae7de6d91
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue