Merge pull request #83 from IronRookieCoder/fix/issue-37-bash-autobg

fix(bash): wake foreground task after auto-backgrounding
This commit is contained in:
geroge 2026-05-15 14:32:20 +08:00 committed by GitHub
commit 8e52334f0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1094,6 +1094,11 @@ async function* runShellCommand({
return;
}
backgroundShellId = foregroundTaskId;
const resolve = resolveProgress;
if (resolve) {
resolveProgress = null;
resolve();
}
logEvent(eventName, {
command_type: getCommandTypeForLogging(command),
});