pty-manager 1.7.1 → 1.7.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/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/dist/pty-worker.js +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1204,6 +1204,7 @@ var PTYSession = class _PTYSession extends import_events.EventEmitter {
|
|
|
1204
1204
|
this._status = "busy";
|
|
1205
1205
|
this.outputBuffer = "";
|
|
1206
1206
|
this.emit("status_changed", "busy");
|
|
1207
|
+
this._stallEmissionCount = 0;
|
|
1207
1208
|
this.resetStallTimer();
|
|
1208
1209
|
const msg = {
|
|
1209
1210
|
id: `${this.id}-msg-${++this.messageCounter}`,
|
|
@@ -1241,6 +1242,8 @@ var PTYSession = class _PTYSession extends import_events.EventEmitter {
|
|
|
1241
1242
|
throw new Error("Session not started");
|
|
1242
1243
|
}
|
|
1243
1244
|
const keyList = Array.isArray(keys) ? keys : [keys];
|
|
1245
|
+
this._stallEmissionCount = 0;
|
|
1246
|
+
this.resetStallTimer();
|
|
1244
1247
|
for (const key of keyList) {
|
|
1245
1248
|
const normalizedKey = key.toLowerCase().trim();
|
|
1246
1249
|
const sequence = SPECIAL_KEYS[normalizedKey];
|