Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/integrations/terminal/TerminalRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export class TerminalRegistry {

if (terminal) {
terminal.setActiveStream(stream)
terminal.busy = true // Mark terminal as busy when shell execution starts
} else {
console.error(
"[onDidStartTerminalShellExecution] Shell execution started, but not from a Roo-registered terminal:",
Expand Down Expand Up @@ -99,6 +100,7 @@ export class TerminalRegistry {
{ terminalId: terminal?.id, command: process?.command, exitCode: e.exitCode },
)

terminal.busy = false
return
}

Expand All @@ -113,6 +115,7 @@ export class TerminalRegistry {

// Signal completion to any waiting processes.
terminal.shellExecutionComplete(exitDetails)
terminal.busy = false // Mark terminal as not busy when shell execution ends
},
)

Expand Down
116 changes: 0 additions & 116 deletions src/integrations/terminal/__tests__/TerminalRegistry.test.ts

This file was deleted.

Loading
Loading