We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 543a8ae commit c590d8dCopy full SHA for c590d8d
src/session.ts
@@ -262,7 +262,7 @@ export class SessionManager {
262
263
private registerCommands() : void {
264
this.registeredCommands = [
265
- vscode.commands.registerCommand('PowerShell.RestartSession', () => { this.restartSession(); }),
+ vscode.commands.registerCommand('PowerShell.RestartSession', () => { this.restartSession(this.sessionConfiguration); }),
266
vscode.commands.registerCommand(this.ShowSessionMenuCommandName, () => { this.showSessionMenu(); }),
267
vscode.workspace.onDidChangeConfiguration(() => this.onConfigurationUpdated()),
268
vscode.commands.registerCommand('PowerShell.ShowSessionConsole', (isExecute?: boolean) => { this.showSessionConsole(isExecute); })
0 commit comments