@f5-sales-demo/pi-tui 19.66.2 → 19.66.3

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/terminal.ts +9 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@f5-sales-demo/pi-tui",
4
- "version": "19.66.2",
4
+ "version": "19.66.3",
5
5
  "description": "Terminal User Interface library with differential rendering for efficient text-based applications",
6
6
  "homepage": "https://github.com/f5-sales-demo/xcsh",
7
7
  "author": "Can Boluk",
@@ -37,8 +37,8 @@
37
37
  "fmt": "biome format --write ."
38
38
  },
39
39
  "dependencies": {
40
- "@f5-sales-demo/pi-natives": "19.66.2",
41
- "@f5-sales-demo/pi-utils": "19.66.2",
40
+ "@f5-sales-demo/pi-natives": "19.66.3",
41
+ "@f5-sales-demo/pi-utils": "19.66.3",
42
42
  "marked": "^17.0"
43
43
  },
44
44
  "devDependencies": {
package/src/terminal.ts CHANGED
@@ -304,6 +304,15 @@ export class ProcessTerminal implements Terminal {
304
304
  clearTimeout(this.#modifyOtherKeysTimeout);
305
305
  this.#modifyOtherKeysTimeout = undefined;
306
306
  }
307
+ // A late reply (heavy first-launch startup widens the query
308
+ // window past the 150ms fallback) can arrive after the
309
+ // modifyOtherKeys fallback already committed. Kitty supersedes
310
+ // it, so tear the fallback down — leaving both active breaks the
311
+ // single-protocol encoding contract in keys.ts (#1454).
312
+ if (this.#modifyOtherKeysActive) {
313
+ this.#safeWrite("\x1b[>4;0m");
314
+ this.#modifyOtherKeysActive = false;
315
+ }
307
316
  this.#kittyProtocolActive = true;
308
317
  setKittyProtocolActive(true);
309
318
  this.#safeWrite("\x1b[>7u");