File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/vs/workbench/contrib/terminal/browser Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -486,8 +486,9 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
486
486
const defaultProfile = ( await this . _terminalProfileResolverService . getDefaultProfile ( { remoteAuthority : this . remoteAuthority , os } ) ) ;
487
487
this . shellLaunchConfig . executable = defaultProfile . path ;
488
488
this . shellLaunchConfig . args = defaultProfile . args ;
489
- this . shellLaunchConfig . icon = defaultProfile . icon ;
490
- this . shellLaunchConfig . color = defaultProfile . color ;
489
+ // Only use default icon and color if they are undefined in the SLC
490
+ this . shellLaunchConfig . icon ??= defaultProfile . icon ;
491
+ this . shellLaunchConfig . color ??= defaultProfile . color ;
491
492
}
492
493
493
494
await this . _createProcess ( ) ;
You can’t perform that action at this time.
0 commit comments