File tree Expand file tree Collapse file tree
src/vs/workbench/contrib/terminal/browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -568,7 +568,8 @@ export class TerminalProcessManager extends Disposable implements ITerminalProce
568568 // For normal terminals write a message indicating what happened and relaunch
569569 // using the previous shellLaunchConfig
570570 const message = localize ( 'ptyHostRelaunch' , "Restarting the terminal because the connection to the shell process was lost..." ) ;
571- // Align with _reviveTerminalProcess to hedge against PSReadLine `GetConsoleCursorInfo` and cursor handling from conpty.
571+ // Align with the pty service's revive logic (_reviveTerminalProcess in src/vs/platform/terminal/node/ptyService.ts)
572+ // to hedge against PSReadLine `GetConsoleCursorInfo` and cursor handling from conpty.
572573 let postRestartMessage = '' ;
573574 if ( this . os === OperatingSystem . Windows && this . _dimensions . rows > 0 ) {
574575 postRestartMessage = '\r\n' . repeat ( this . _dimensions . rows - 1 ) + `\x1b[H` ;
You can’t perform that action at this time.
0 commit comments