Skip to content

Commit dda4f43

Browse files
committed
1 parent 9bca7ce commit dda4f43

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/vs/workbench/contrib/terminal/browser/terminalService.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@ export class TerminalService implements ITerminalService {
290290
this._remoteTerminalsInitPromise = this._reconnectToRemoteTerminals();
291291
} else if (enableTerminalReconnection) {
292292
this._localTerminalsInitPromise = this._reconnectToLocalTerminals();
293+
} else {
294+
this._connectionState = TerminalConnectionState.Connected;
293295
}
294296
this._primaryOffProcessTerminalService = !!this._environmentService.remoteAuthority ? this._remoteTerminalService : (this._localTerminalService || this._remoteTerminalService);
295297
this._primaryOffProcessTerminalService.onDidRequestDetach(async (e) => {

0 commit comments

Comments
 (0)