diff --git a/src/common/input/Keyboard.ts b/src/common/input/Keyboard.ts index b4b3dce461..6d916a38f0 100644 --- a/src/common/input/Keyboard.ts +++ b/src/common/input/Keyboard.ts @@ -230,6 +230,8 @@ export function evaluateKeyboardEvent( // page up if (ev.shiftKey) { result.type = KeyboardResultType.PAGE_UP; + } else if (ev.ctrlKey) { + result.key = C0.ESC + '[5;' + (modifiers + 1) + '~'; } else { result.key = C0.ESC + '[5~'; } @@ -238,6 +240,8 @@ export function evaluateKeyboardEvent( // page down if (ev.shiftKey) { result.type = KeyboardResultType.PAGE_DOWN; + } else if (ev.ctrlKey) { + result.key = C0.ESC + '[6;' + (modifiers + 1) + '~'; } else { result.key = C0.ESC + '[6~'; }