diff --git a/terminus-terminal/src/components/terminalTab.component.ts b/terminus-terminal/src/components/terminalTab.component.ts index afb9b1d8..0fc8140b 100644 --- a/terminus-terminal/src/components/terminalTab.component.ts +++ b/terminus-terminal/src/components/terminalTab.component.ts @@ -34,14 +34,15 @@ export class TerminalTabComponent extends BaseTabComponent { bell$ = new Subject() size: ResizeEvent resize$: Observable - private resize_ = new Subject() input$ = new Subject() output$ = new Subject() - contentUpdated$ = new Subject() + contentUpdated$: Observable alternateScreenActive$ = new BehaviorSubject(false) mouseEvent$ = new Subject() htermVisible = false shell: IShell + private resize_ = new Subject() + private contentUpdated_ = new Subject() private bellPlayer: HTMLAudioElement private io: any private contextMenu: any @@ -300,13 +301,13 @@ export class TerminalTabComponent extends BaseTabComponent { const _insertString = screen.insertString.bind(screen) screen.insertString = (data) => { _insertString(data) - this.contentUpdated$.next() + this.contentUpdated_.next() } const _deleteChars = screen.deleteChars.bind(screen) screen.deleteChars = (count) => { let ret = _deleteChars(count) - this.contentUpdated$.next() + this.contentUpdated_.next() return ret } } @@ -458,7 +459,7 @@ export class TerminalTabComponent extends BaseTabComponent { this.resize_.complete() this.input$.complete() this.output$.complete() - this.contentUpdated$.complete() + this.contentUpdated_.complete() this.alternateScreenActive$.complete() this.mouseEvent$.complete() this.bell$.complete()