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/pty-worker.js
CHANGED
|
@@ -1185,6 +1185,7 @@ var PTYSession = class _PTYSession extends import_events.EventEmitter {
|
|
|
1185
1185
|
this._status = "busy";
|
|
1186
1186
|
this.outputBuffer = "";
|
|
1187
1187
|
this.emit("status_changed", "busy");
|
|
1188
|
+
this._stallEmissionCount = 0;
|
|
1188
1189
|
this.resetStallTimer();
|
|
1189
1190
|
const msg = {
|
|
1190
1191
|
id: `${this.id}-msg-${++this.messageCounter}`,
|
|
@@ -1222,6 +1223,8 @@ var PTYSession = class _PTYSession extends import_events.EventEmitter {
|
|
|
1222
1223
|
throw new Error("Session not started");
|
|
1223
1224
|
}
|
|
1224
1225
|
const keyList = Array.isArray(keys) ? keys : [keys];
|
|
1226
|
+
this._stallEmissionCount = 0;
|
|
1227
|
+
this.resetStallTimer();
|
|
1225
1228
|
for (const key of keyList) {
|
|
1226
1229
|
const normalizedKey = key.toLowerCase().trim();
|
|
1227
1230
|
const sequence = SPECIAL_KEYS[normalizedKey];
|
package/package.json
CHANGED