Clear data written flag on manual relaunch

Fixes #119680
This commit is contained in:
Daniel Imms 2021-03-24 02:21:47 -07:00
parent 1c3990938b
commit 4dedb019f8
No known key found for this signature in database
GPG key ID: D12BE8272D6284CC

View file

@ -325,6 +325,10 @@ export class TerminalProcessManager extends Disposable implements ITerminalProce
this._onPtyReconnect.fire();
}
// Clear data written flag to re-enable seamless relaunch if this relaunch was manually
// triggered
this._hasWrittenData = false;
return this.createProcess(shellLaunchConfig, cols, rows, isScreenReaderModeEnabled, reset);
}