We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f5a048f + 4d30cfe commit 36dee1fCopy full SHA for 36dee1f
src/vs/workbench/contrib/tasks/browser/terminalTaskSystem.ts
@@ -1040,6 +1040,9 @@ export class TerminalTaskSystem extends Disposable implements ITaskSystem {
1040
} else if (task.command.presentation && (task.command.presentation.focus || task.command.presentation.reveal === RevealKind.Always)) {
1041
this._terminalService.setActiveInstance(terminal);
1042
await this._terminalService.revealActiveTerminal();
1043
+ if (task.command.presentation.focus) {
1044
+ this._terminalService.focusActiveInstance();
1045
+ }
1046
}
1047
this._activeTasks[task.getMapKey()].terminal = terminal;
1048
this._fireTaskEvent(TaskEvent.changed());
0 commit comments