Change decset flag to altEscMode

This commit is contained in:
kumaran-14
2020-02-20 00:21:33 +05:30
parent b75ae0f7b1
commit 5896a05ca6
6 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ const KEYCODE_KEY_MAPPINGS: { [key: number]: [string, string]} = {
export function evaluateKeyboardEvent(
ev: IKeyboardEvent,
altEnterMode: boolean,
altEscMode: boolean,
applicationCursorMode: boolean,
isMac: boolean,
macOptionIsMeta: boolean
@@ -104,7 +104,7 @@ export function evaluateKeyboardEvent(
break;
case 13:
// return/enter
if (altEnterMode && modifiers === 2) {
if (altEscMode && modifiers === 2) {
result.key = C0.ESC + C0.CR;
}
else {