File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed
terminalContrib/chatAgentTools/browser Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -531,16 +531,10 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
531
531
const defaultProfile = ( await this . _terminalProfileResolverService . getDefaultProfile ( { remoteAuthority : this . remoteAuthority , os } ) ) ;
532
532
this . shellLaunchConfig . executable = defaultProfile . path ;
533
533
this . shellLaunchConfig . args = defaultProfile . args ;
534
- if ( this . shellLaunchConfig . isExtensionOwnedTerminal ) {
535
- // Only use default icon and color and env if they are undefined in the SLC
536
- this . shellLaunchConfig . icon ??= defaultProfile . icon ;
537
- this . shellLaunchConfig . color ??= defaultProfile . color ;
538
- this . shellLaunchConfig . env ??= defaultProfile . env ;
539
- } else {
540
- this . shellLaunchConfig . icon = defaultProfile . icon ;
541
- this . shellLaunchConfig . color = defaultProfile . color ;
542
- this . shellLaunchConfig . env = defaultProfile . env ;
543
- }
534
+ // Only use default icon and color and env if they are undefined in the SLC
535
+ this . shellLaunchConfig . icon ??= defaultProfile . icon ;
536
+ this . shellLaunchConfig . color ??= defaultProfile . color ;
537
+ this . shellLaunchConfig . env ??= defaultProfile . env ;
544
538
}
545
539
546
540
// Resolve the shell type ahead of time to allow features that depend upon it to work
Original file line number Diff line number Diff line change 5
5
6
6
import { DeferredPromise , disposableTimeout , timeout } from '../../../../../base/common/async.js' ;
7
7
import type { CancellationToken } from '../../../../../base/common/cancellation.js' ;
8
+ import { Codicon } from '../../../../../base/common/codicons.js' ;
8
9
import { CancellationError } from '../../../../../base/common/errors.js' ;
9
10
import { DisposableStore } from '../../../../../base/common/lifecycle.js' ;
10
11
import { ThemeIcon } from '../../../../../base/common/themables.js' ;
@@ -70,8 +71,7 @@ export class ToolTerminalCreator {
70
71
private _createCopilotTerminal ( ) {
71
72
return this . _terminalService . createTerminal ( {
72
73
config : {
73
- name : 'Copilot' ,
74
- icon : ThemeIcon . fromId ( 'copilot' ) ,
74
+ icon : ThemeIcon . fromId ( Codicon . chatSparkle . id ) ,
75
75
hideFromUser : true ,
76
76
env : {
77
77
GIT_PAGER : 'cat' , // avoid making `git diff` interactive when called from copilot
You can’t perform that action at this time.
0 commit comments