@xterm/xterm 6.1.0-beta.218 → 6.1.0-beta.219
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/KittyKeyboard.ts +4 -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.219",
|
|
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": "c8c8b3a7fe7e94113a49d44ed10cd0dc34f6d50a"
|
|
123
123
|
}
|
package/src/common/Version.ts
CHANGED
|
@@ -485,7 +485,10 @@ export class KittyKeyboard {
|
|
|
485
485
|
const useCsiU = !!(
|
|
486
486
|
flags & KittyKeyboardFlags.REPORT_ALL_KEYS_AS_ESCAPE_CODES ||
|
|
487
487
|
(reportEventTypes && eventType === KittyKeyboardEventType.RELEASE) ||
|
|
488
|
-
|
|
488
|
+
// Enabling REPORT_EVENT_TYPES without DISAMBIGUATE_ESCAPE_CODES doesn't really make sense, so
|
|
489
|
+
// just make REPORT_EVENT_TYPES imply DISAMBIGUATE_ESCAPE_CODES here for simplicity.
|
|
490
|
+
// See: https://github.com/kovidgoyal/kitty/issues/9999
|
|
491
|
+
((flags & KittyKeyboardFlags.DISAMBIGUATE_ESCAPE_CODES || reportEventTypes) &&
|
|
489
492
|
(
|
|
490
493
|
// Per spec, Enter/Tab/Backspace "still generate the same bytes as in legacy mode" and
|
|
491
494
|
// consider space to be a text-generating key, so these skip the isFunc fast-path and only
|