@xterm/xterm 6.1.0-beta.175 → 6.1.0-beta.177
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/xterm.js +1 -1
- package/lib/xterm.js.map +1 -1
- package/lib/xterm.mjs +1 -1
- package/lib/xterm.mjs.map +2 -2
- package/package.json +2 -2
- package/src/common/Version.ts +1 -1
- package/src/common/input/Keyboard.ts +7 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xterm/xterm",
|
|
3
3
|
"description": "Full xterm terminal, in your browser",
|
|
4
|
-
"version": "6.1.0-beta.
|
|
4
|
+
"version": "6.1.0-beta.177",
|
|
5
5
|
"main": "lib/xterm.js",
|
|
6
6
|
"module": "lib/xterm.mjs",
|
|
7
7
|
"style": "css/xterm.css",
|
|
@@ -119,5 +119,5 @@
|
|
|
119
119
|
"ws": "^8.2.3",
|
|
120
120
|
"xterm-benchmark": "^0.3.1"
|
|
121
121
|
},
|
|
122
|
-
"commit": "
|
|
122
|
+
"commit": "ea50fbdd1ed765d6b3c3aa684150f5e77a9b3fd0"
|
|
123
123
|
}
|
package/src/common/Version.ts
CHANGED
|
@@ -99,7 +99,13 @@ export function evaluateKeyboardEvent(
|
|
|
99
99
|
break;
|
|
100
100
|
case 13:
|
|
101
101
|
// return/enter
|
|
102
|
-
|
|
102
|
+
if (ev.key === 'c' && ev.ctrlKey) {
|
|
103
|
+
// 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;
|
|
108
|
+
}
|
|
103
109
|
result.cancel = true;
|
|
104
110
|
break;
|
|
105
111
|
case 27:
|