fix: Prevent terminal focus theft on paste after command execution (#3356)

This commit is contained in:
Murilo Pires 2025-05-08 23:43:06 -03:00 committed by hannesrudolph
parent 6d7ed1c0ff
commit fd859b4d13

View file

@ -195,7 +195,7 @@ export async function executeCommand(
const terminal = await TerminalRegistry.getOrCreateTerminal(workingDir, !!customCwd, cline.taskId, terminalProvider)
if (terminal instanceof Terminal) {
terminal.terminal.show()
terminal.terminal.show(true)
// Update the working directory in case the terminal we asked for has
// a different working directory so that the model will know where the