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.mjs
CHANGED
|
@@ -1164,6 +1164,7 @@ var PTYSession = class _PTYSession extends EventEmitter {
|
|
|
1164
1164
|
this._status = "busy";
|
|
1165
1165
|
this.outputBuffer = "";
|
|
1166
1166
|
this.emit("status_changed", "busy");
|
|
1167
|
+
this._stallEmissionCount = 0;
|
|
1167
1168
|
this.resetStallTimer();
|
|
1168
1169
|
const msg = {
|
|
1169
1170
|
id: `${this.id}-msg-${++this.messageCounter}`,
|
|
@@ -1201,6 +1202,8 @@ var PTYSession = class _PTYSession extends EventEmitter {
|
|
|
1201
1202
|
throw new Error("Session not started");
|
|
1202
1203
|
}
|
|
1203
1204
|
const keyList = Array.isArray(keys) ? keys : [keys];
|
|
1205
|
+
this._stallEmissionCount = 0;
|
|
1206
|
+
this.resetStallTimer();
|
|
1204
1207
|
for (const key of keyList) {
|
|
1205
1208
|
const normalizedKey = key.toLowerCase().trim();
|
|
1206
1209
|
const sequence = SPECIAL_KEYS[normalizedKey];
|