@f5xc-salesdemos/pi-tui 19.34.1 → 19.35.2
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 +3 -3
- package/src/stdin-buffer.ts +1 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@f5xc-salesdemos/pi-tui",
|
|
4
|
-
"version": "19.
|
|
4
|
+
"version": "19.35.2",
|
|
5
5
|
"description": "Terminal User Interface library with differential rendering for efficient text-based applications",
|
|
6
6
|
"homepage": "https://github.com/f5xc-salesdemos/xcsh",
|
|
7
7
|
"author": "Can Boluk",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"fmt": "biome format --write ."
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@f5xc-salesdemos/pi-natives": "19.
|
|
41
|
-
"@f5xc-salesdemos/pi-utils": "19.
|
|
40
|
+
"@f5xc-salesdemos/pi-natives": "19.35.2",
|
|
41
|
+
"@f5xc-salesdemos/pi-utils": "19.35.2",
|
|
42
42
|
"marked": "^17.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
package/src/stdin-buffer.ts
CHANGED
|
@@ -403,6 +403,7 @@ export class StdinBuffer extends EventEmitter<StdinBufferEventMap> {
|
|
|
403
403
|
// one peeled out of a de-blobbed probe response) is not a keypress
|
|
404
404
|
// awaiting its tail and must not glue onto the next read.
|
|
405
405
|
const last = flushed[flushed.length - 1];
|
|
406
|
+
// biome-ignore lint/complexity/useOptionalChain: the explicit undefined check narrows `last` to string for isCompleteSequence(last) below; optional chaining would not.
|
|
406
407
|
if (last !== undefined && last.startsWith(ESC) && isCompleteSequence(last) === "incomplete") {
|
|
407
408
|
this.#pendingEscape = last;
|
|
408
409
|
this.#pendingEscapeAt = Date.now();
|