Skip to content

Commit a0322a5

Browse files
MuriloFPmehmetsunkur
authored andcommitted
fix: Prevent terminal focus theft on paste after command execution (RooCodeInc#3356)
1 parent b75a566 commit a0322a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/tools/executeCommandTool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export async function executeCommand(
195195
const terminal = await TerminalRegistry.getOrCreateTerminal(workingDir, !!customCwd, cline.taskId, terminalProvider)
196196

197197
if (terminal instanceof Terminal) {
198-
terminal.terminal.show()
198+
terminal.terminal.show(true)
199199

200200
// Update the working directory in case the terminal we asked for has
201201
// a different working directory so that the model will know where the

0 commit comments

Comments
 (0)