diff --git a/tabby-core/src/services/app.service.ts b/tabby-core/src/services/app.service.ts index 5a464092..28667a23 100644 --- a/tabby-core/src/services/app.service.ts +++ b/tabby-core/src/services/app.service.ts @@ -133,6 +133,12 @@ export class AppService { this.tabClosed.next(tab) }) + tab.activity$.subscribe(() => { + if (tab === this._activeTab) { + tab.clearActivity() + } + }) + if (tab instanceof SplitTabComponent) { tab.tabAdded$.subscribe(() => this.emitTabsChanged()) tab.tabRemoved$.subscribe(() => this.emitTabsChanged())