Skip to content

Commit fd859b4

Browse files
MuriloFPhannesrudolph
authored andcommitted
fix: Prevent terminal focus theft on paste after command execution (#3356)
1 parent 6d7ed1c commit fd859b4

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)