File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/vs/workbench/contrib/tasks/browser Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1037,7 +1037,7 @@ export class TerminalTaskSystem extends Disposable implements ITaskSystem {
1037
1037
const showProblemPanel = task . command . presentation && ( task . command . presentation . revealProblems === RevealProblemKind . Always ) ;
1038
1038
if ( showProblemPanel ) {
1039
1039
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 ) ) {
1041
1041
this . _terminalService . setActiveInstance ( terminal ) ;
1042
1042
this . _terminalGroupService . showPanel ( task . command . presentation . focus ) ;
1043
1043
}
You can’t perform that action at this time.
0 commit comments