fix esc key

This commit is contained in:
Felix Seidl
2020-11-15 11:21:34 +01:00
parent 78361ee160
commit 7491618109
+3
View File
@@ -244,6 +244,9 @@ window.createTerminal = (options, theme, keyBindings) => {
term.selectAll();
return false;
}
if (keyBinding.command == 'CloseSearch') {
return true;
}
e.preventDefault();
window.terminalBridge.invokeCommand(keyBinding.command);