Skip to content

Commit 9c37c0b

Browse files
committed
Fix 185359
1 parent 1eabca5 commit 9c37c0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/tasks/browser/terminalTaskSystem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ export class TerminalTaskSystem extends Disposable implements ITaskSystem {
10371037
const showProblemPanel = task.command.presentation && (task.command.presentation.revealProblems === RevealProblemKind.Always);
10381038
if (showProblemPanel) {
10391039
this._viewsService.openView(Markers.MARKERS_VIEW_ID);
1040-
} else if (task.command.presentation && (task.command.presentation.reveal === RevealKind.Always)) {
1040+
} else if (task.command.presentation && (task.command.presentation.focus || task.command.presentation.reveal === RevealKind.Always)) {
10411041
this._terminalService.setActiveInstance(terminal);
10421042
this._terminalGroupService.showPanel(task.command.presentation.focus);
10431043
}

0 commit comments

Comments
 (0)