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 @@ -1207,7 +1207,7 @@ export class TerminalTaskSystem extends Disposable implements ITaskSystem {
1207
1207
}
1208
1208
1209
1209
if ( ( presentationOptions . close === undefined ) || ( presentationOptions . close === false ) ) {
1210
- if ( ( presentationOptions . reveal !== RevealKind . Never ) || ! task . configurationProperties . isBackground ) {
1210
+ if ( ( presentationOptions . reveal !== RevealKind . Never ) || ! task . configurationProperties . isBackground || ( presentationOptions . close === false ) ) {
1211
1211
if ( presentationOptions . panel === PanelKind . New ) {
1212
1212
waitOnExit = nls . localize ( 'closeTerminal' , 'Press any key to close the terminal.' ) ;
1213
1213
} else if ( presentationOptions . showReuseMessage ) {
You can’t perform that action at this time.
0 commit comments