File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/client/terminals/envCollectionActivation Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export class TerminalDeactivateService implements ITerminalDeactivateService {
4747 return ;
4848 }
4949 const shellType = identifyShellFromShellPath ( shell ) ;
50- const terminal = this . terminalManager . createTerminal ( {
50+ const terminal = this . terminalManager . createTerminal ( { // maybe cwd is getting carried over from here?
5151 name : `Python ${ shellType } Deactivate` ,
5252 shellPath : shell ,
5353 hideFromUser : true ,
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export class TerminalIndicatorPrompt implements IExtensionSingleActivationServic
5959 // Only show this notification for basic terminals created using the '+' button.
6060 return ;
6161 }
62- const cwd =
62+ const cwd = /// I Dont think this sets the cwd, it just recies it from terminal.creationOptions
6363 'cwd' in terminal . creationOptions && terminal . creationOptions . cwd
6464 ? terminal . creationOptions . cwd
6565 : this . activeResourceService . getActiveResource ( ) ;
Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ export class TerminalEnvVarCollectionService implements IExtensionActivationServ
310310 * Call this once we know terminal prompt is set correctly for terminal owned by this resource.
311311 */
312312 private terminalPromptIsCorrect ( resource : Resource ) {
313- const key = this . getWorkspaceFolder ( resource ) ?. index ;
313+ const key = this . getWorkspaceFolder ( resource ) ?. index ; // Suspicious??
314314 this . isPromptSet . set ( key , true ) ;
315315 }
316316
You can’t perform that action at this time.
0 commit comments