Skip to content

Commit fb807c1

Browse files
authored
fix: Prevent terminal focus theft on paste after command execution (#3356)
1 parent 4091131 commit fb807c1

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)