pty-manager 1.3.2 → 1.3.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.
@@ -433,9 +433,9 @@ var PTYSession = class _PTYSession extends import_events.EventEmitter {
433
433
  this.clearStallTimer();
434
434
  return;
435
435
  }
436
- const tail = this.outputBuffer.slice(-500);
437
- const stripped = this.stripAnsiForStall(tail).trim();
438
- const hash = this.simpleHash(stripped);
436
+ const stripped = this.stripAnsiForStall(this.outputBuffer).trim();
437
+ const tail = stripped.slice(-500);
438
+ const hash = this.simpleHash(tail);
439
439
  if (hash === this._lastContentHash) {
440
440
  return;
441
441
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pty-manager",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "PTY session manager with lifecycle management, pluggable adapters, and blocking prompt detection",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",