ispbills-icli 8.7.4 → 8.7.5
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 +1 -1
- package/src/tui/run.js +4 -0
package/package.json
CHANGED
package/src/tui/run.js
CHANGED
|
@@ -17,6 +17,10 @@ class MouseFilterTransform extends Transform {
|
|
|
17
17
|
this.setRawMode = process.stdin.setRawMode
|
|
18
18
|
? (mode) => process.stdin.setRawMode(mode)
|
|
19
19
|
: undefined;
|
|
20
|
+
// Ink calls ref()/unref() on whatever stream it receives as stdin.
|
|
21
|
+
// Transform streams don't have these; delegate to the underlying TTY.
|
|
22
|
+
this.ref = () => process.stdin.ref?.();
|
|
23
|
+
this.unref = () => process.stdin.unref?.();
|
|
20
24
|
this._buf = '';
|
|
21
25
|
}
|
|
22
26
|
|