@@ -1275,27 +1275,27 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
1275
1275
} ) ;
1276
1276
} ) ;
1277
1277
this . refreshTabLabels ( this . _shellLaunchConfig . executable , TitleEventSource . Process ) ;
1278
-
1279
- this . _processManager . onProcessData ( ev => {
1280
- this . _initialDataEvents ?. push ( ev . data ) ;
1281
- this . _onData . fire ( ev . data ) ;
1282
- } ) ;
1283
- this . _processManager . onEnvironmentVariableInfoChanged ( e => this . _onEnvironmentVariableInfoChanged ( e ) ) ;
1284
- this . _processManager . onPtyDisconnect ( ( ) => {
1285
- this . _safeSetOption ( 'disableStdin' , true ) ;
1286
- this . statusList . add ( {
1287
- id : TerminalStatus . Disconnected ,
1288
- severity : Severity . Error ,
1289
- icon : Codicon . debugDisconnect ,
1290
- tooltip : nls . localize ( 'disconnectStatus' , "Lost connection to process" )
1291
- } ) ;
1292
- } ) ;
1293
- this . _processManager . onPtyReconnect ( ( ) => {
1294
- this . _safeSetOption ( 'disableStdin' , false ) ;
1295
- this . statusList . remove ( TerminalStatus . Disconnected ) ;
1296
- } ) ;
1297
1278
}
1298
1279
} ) ;
1280
+
1281
+ this . _processManager . onProcessData ( ev => {
1282
+ this . _initialDataEvents ?. push ( ev . data ) ;
1283
+ this . _onData . fire ( ev . data ) ;
1284
+ } ) ;
1285
+ this . _processManager . onEnvironmentVariableInfoChanged ( e => this . _onEnvironmentVariableInfoChanged ( e ) ) ;
1286
+ this . _processManager . onPtyDisconnect ( ( ) => {
1287
+ this . _safeSetOption ( 'disableStdin' , true ) ;
1288
+ this . statusList . add ( {
1289
+ id : TerminalStatus . Disconnected ,
1290
+ severity : Severity . Error ,
1291
+ icon : Codicon . debugDisconnect ,
1292
+ tooltip : nls . localize ( 'disconnectStatus' , "Lost connection to process" )
1293
+ } ) ;
1294
+ } ) ;
1295
+ this . _processManager . onPtyReconnect ( ( ) => {
1296
+ this . _safeSetOption ( 'disableStdin' , false ) ;
1297
+ this . statusList . remove ( TerminalStatus . Disconnected ) ;
1298
+ } ) ;
1299
1299
}
1300
1300
1301
1301
private async _createProcess ( ) : Promise < void > {
0 commit comments