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 GitHub
parent 4091131859
commit fb807c1056
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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