@xterm/headless 6.1.0-beta.210 → 6.1.0-beta.212

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.210",
4
+ "version": "6.1.0-beta.212",
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": "802decb04617f2c0f032adb4579dda8ef9e6326f"
28
+ "commit": "874e767b4022a85d9bd7f8d9780f0812efe49fb6"
29
29
  }
@@ -1274,12 +1274,12 @@ declare module '@xterm/headless' {
1274
1274
  prefix?: string;
1275
1275
  /**
1276
1276
  * Optional intermediate bytes, must be in range \x20 .. \x2f.
1277
- * Usable in CSI, DCS and ESC.
1277
+ * Usable in CSI, DCS, ESC and APC.
1278
1278
  */
1279
1279
  intermediates?: string;
1280
1280
  /**
1281
1281
  * Final byte, must be in range \x40 .. \x7e for CSI and DCS,
1282
- * \x30 .. \x7e for ESC.
1282
+ * \x30 .. \x7e for ESC and APC.
1283
1283
  */
1284
1284
  final: string;
1285
1285
  }
@@ -1354,8 +1354,8 @@ declare module '@xterm/headless' {
1354
1354
 
1355
1355
  /**
1356
1356
  * Adds a handler for APC escape sequences.
1357
- * @param ident The identifier (first character) of the sequence as a
1358
- * character code, e.g. 71 for 'G' (Kitty graphics protocol).
1357
+ * @param id Specifies the function identifier under which the callback
1358
+ * gets registered, e.g. {final: 'G'} for Kitty graphics protocol.
1359
1359
  * @param callback The function to handle the sequence. Note that the
1360
1360
  * function will only be called once if the sequence finished successfully.
1361
1361
  * There is currently no way to intercept smaller data chunks, data chunks
@@ -1368,7 +1368,7 @@ declare module '@xterm/headless' {
1368
1368
  * added handler is tried first.
1369
1369
  * @returns An IDisposable you can call to remove this handler.
1370
1370
  */
1371
- registerApcHandler(ident: number, callback: (data: string) => boolean): IDisposable;
1371
+ registerApcHandler(id: IFunctionIdentifier, callback: (data: string) => boolean): IDisposable;
1372
1372
  }
1373
1373
 
1374
1374
  /**