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