@xterm/xterm 6.1.0-beta.217 → 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/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.217",
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": "c5c6fc2a64dab42fad108493e2a33d6aa9cd4405"
122
+ "commit": "c8c8b3a7fe7e94113a49d44ed10cd0dc34f6d50a"
123
123
  }
@@ -6,4 +6,4 @@
6
6
  /**
7
7
  * The xterm.js version. This is updated by the publish script from package.json.
8
8
  */
9
- export const XTERM_VERSION = '6.1.0-beta.217';
9
+ export const XTERM_VERSION = '6.1.0-beta.219';
@@ -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
- (flags & KittyKeyboardFlags.DISAMBIGUATE_ESCAPE_CODES &&
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