Skip to content

Commit 819d02c

Browse files
authored
Merge pull request microsoft#258990 from microsoft/tyriar/258988
Reveal terminal when it's about to be used
2 parents 9b8f8c2 + 9e36ed8 commit 819d02c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalTool.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ export class RunInTerminalTool extends Disposable implements IToolImpl {
298298
: this._initForegroundTerminal(chatSessionId, termId, token));
299299

300300
this._terminalService.setActiveInstance(toolTerminal.instance);
301+
this._terminalService.revealTerminal(toolTerminal.instance, true);
301302
const timingConnectMs = Date.now() - timingStart;
302303

303304
const xterm = await toolTerminal.instance.xtermReadyPromise;

0 commit comments

Comments
 (0)