@@ -88,8 +88,6 @@ export class TerminalService implements ITerminalService {
8888 public get onInstancesChanged ( ) : Event < void > { return this . _onInstancesChanged . event ; }
8989 private readonly _onInstanceTitleChanged = new Emitter < ITerminalInstance > ( ) ;
9090 public get onInstanceTitleChanged ( ) : Event < ITerminalInstance > { return this . _onInstanceTitleChanged . event ; }
91- private readonly _onInstanceXtermReady = new Emitter < ITerminalInstance > ( ) ;
92- public get onInstanceXtermReady ( ) : Event < ITerminalInstance > { return this . _onInstanceXtermReady . event ; }
9391 private readonly _onActiveInstanceChanged = new Emitter < ITerminalInstance | undefined > ( ) ;
9492 public get onActiveInstanceChanged ( ) : Event < ITerminalInstance | undefined > { return this . _onActiveInstanceChanged . event ; }
9593 private readonly _onTabDisposed = new Emitter < ITerminalTab > ( ) ;
@@ -490,7 +488,6 @@ export class TerminalService implements ITerminalService {
490488 const disposables : IDisposable [ ] = [ ] ;
491489 this . _linkProviders . add ( linkProvider ) ;
492490 for ( const instance of this . terminalInstances ) {
493- // Only register immediately when xterm is ready
494491 if ( instance . areLinksReady ) {
495492 disposables . push ( instance . registerLinkProvider ( linkProvider ) ) ;
496493 }
@@ -665,7 +662,6 @@ export class TerminalService implements ITerminalService {
665662 public createInstance ( container : HTMLElement | undefined , shellLaunchConfig : IShellLaunchConfig ) : ITerminalInstance {
666663 const instance = this . _instantiationService . createInstance ( TerminalInstance , this . _terminalFocusContextKey , this . _terminalShellTypeContextKey , this . _configHelper , container , shellLaunchConfig ) ;
667664 this . _onInstanceCreated . fire ( instance ) ;
668- instance . xtermReady . then ( ( ) => this . _onInstanceXtermReady . fire ( instance ) ) ;
669665 return instance ;
670666 }
671667
0 commit comments