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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/tui/run.js +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ispbills-icli",
3
- "version": "8.7.4",
3
+ "version": "8.7.5",
4
4
  "description": "iCli — IspBills AI network engineer in your terminal",
5
5
  "keywords": [
6
6
  "ispbills",
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