@xterm/headless 6.1.0-beta.97 → 6.1.0-beta.99

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/headless",
3
3
  "description": "A headless terminal component that runs in Node.js",
4
- "version": "6.1.0-beta.97",
4
+ "version": "6.1.0-beta.99",
5
5
  "main": "lib-headless/xterm-headless.js",
6
6
  "module": "lib/xterm.mjs",
7
7
  "types": "typings/xterm-headless.d.ts",
@@ -25,5 +25,5 @@
25
25
  "webgl",
26
26
  "xterm"
27
27
  ],
28
- "commit": "756c35323797b8e9de10520d8e012569e97f1b59"
28
+ "commit": "91c4761b8229e76f420e728b5f6ace1976bd42ec"
29
29
  }
@@ -231,6 +231,11 @@ declare module '@xterm/headless' {
231
231
  * All features are disabled by default for security reasons.
232
232
  */
233
233
  windowOptions?: IWindowOptions;
234
+
235
+ /**
236
+ * Enable various VT extensions. All extensions are disabled by default.
237
+ */
238
+ vtExtensions?: IVtExtensions;
234
239
  }
235
240
 
236
241
  /**
@@ -313,6 +318,30 @@ declare module '@xterm/headless' {
313
318
  buildNumber?: number;
314
319
  }
315
320
 
321
+ /**
322
+ * Enable VT extensions that are not part of the core VT specification.
323
+ */
324
+ export interface IVtExtensions {
325
+ /**
326
+ * Whether the [kitty keyboard protocol][0] (`CSI =|?|>|< u`) is enabled.
327
+ * When enabled, the terminal will respond to keyboard protocol queries and
328
+ * allow programs to enable enhanced keyboard reporting. The default is
329
+ * false.
330
+ *
331
+ * [0]: https://sw.kovidgoyal.net/kitty/keyboard-protocol/
332
+ */
333
+ kittyKeyboard?: boolean;
334
+
335
+ /**
336
+ * Whether [SGR 221 (not bold) and SGR 222 (not faint) are enabled][0].
337
+ * These are kitty extensions that allow resetting bold and faint
338
+ * independently. The default is true.
339
+ *
340
+ * [0]: https://sw.kovidgoyal.net/kitty/misc-protocol/
341
+ */
342
+ kittySgrBoldFaintControl?: boolean;
343
+ }
344
+
316
345
  /**
317
346
  * A replacement logger for `console`.
318
347
  */