pty-manager 1.9.2 → 1.9.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.
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/dist/pty-worker.js +5 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -958,9 +958,11 @@ var PTYSession = class _PTYSession extends EventEmitter {
|
|
|
958
958
|
this.scheduleTaskComplete();
|
|
959
959
|
}
|
|
960
960
|
}
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
961
|
+
if (this._status !== "stopping" && this._status !== "stopped") {
|
|
962
|
+
const blockingPrompt = this.detectAndHandleBlockingPrompt();
|
|
963
|
+
if (blockingPrompt) {
|
|
964
|
+
return;
|
|
965
|
+
}
|
|
964
966
|
}
|
|
965
967
|
if (this._status !== "ready" && this._status !== "busy") {
|
|
966
968
|
const loginDetection = this.adapter.detectLogin(this.outputBuffer);
|