We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f155c65 commit 87bf81cCopy full SHA for 87bf81c
src/common/input/Keyboard.ts
@@ -99,8 +99,9 @@ export function evaluateKeyboardEvent(
99
break;
100
case 13:
101
// return/enter
102
- if (ev.key == 'c' && ev.ctrlKey) {
103
- // Safari on iPad, iOS, AppleVisionPro sends key 13 when typing ctrl-c on hardware keyboard
+ if (ev.key === 'c' && ev.ctrlKey) {
+ // HACK: Safari on iPad, iOS, AppleVisionPro sends key 13 when typing ctrl-c on hardware
104
+ // keyboard
105
result.key = C0.ETX;
106
} else {
107
result.key = ev.altKey ? C0.ESC + C0.CR : C0.CR;
0 commit comments