Make ctrl+left/right optional

This commit is contained in:
missionfloyd
2023-05-25 18:49:28 -06:00
parent dafe519363
commit 43bdaa2f0e
2 changed files with 2 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
function keyupEditOrder(event) {
if (!opts.keyedit_move) return;
let target = event.originalTarget || event.composedPath()[0];
if (!target.matches("*:is([id*='_toprow'] [id*='_prompt'], .prompt) textarea")) return;
if (!event.metaKey && !event.ctrlKey) return;