properly recover tabs with xterm

This commit is contained in:
Eugene Pankov
2019-01-27 22:01:55 +01:00
parent fab21f6859
commit 792de65696
4 changed files with 21 additions and 4 deletions

View File

@@ -105,7 +105,9 @@ export class AppService {
this.activeTab = tab
this.activeTabChange.next(tab)
if (this.activeTab) {
this.activeTab.emitFocused()
setImmediate(() => {
this.activeTab.emitFocused()
})
this.hostApp.setTitle(this.activeTab.title)
}
}