mirror of
https://github.com/Microsoft/vscode
synced 2024-11-05 18:29:38 +00:00
Use relaunch function instead of reuseTerminal
This matches how the command relaunches it
This commit is contained in:
parent
a00411c7e8
commit
805d7949eb
1 changed files with 1 additions and 1 deletions
|
@ -1593,7 +1593,7 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
|
|||
// Recreate the process if the terminal has not yet been interacted with and it's not a
|
||||
// special terminal (eg. task, extension terminal)
|
||||
if (info.requiresAction && !this._processManager.hasWrittenData && !this._shellLaunchConfig.isFeatureTerminal && !this._shellLaunchConfig.isExtensionTerminal) {
|
||||
this.reuseTerminal(this._shellLaunchConfig, true);
|
||||
this.relaunch();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue