Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed May 10, 2022
1 parent c1bd2a7 commit 052d771
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tabby-terminal/src/api/baseTerminalTab.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,14 +374,14 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit
})
}

protected async onFrontendReady (): Promise<void> {
protected onFrontendReady (): void {
this.frontendIsReady = true
if (this.savedState) {
this.frontend!.restoreState(this.savedState)
if (!this.savedStateIsLive) {
await this.frontend!.write('\r\n\r\n')
await this.frontend!.write(colors.bgWhite.black(' * ') + colors.bgBlackBright.white(' History restored '))
await this.frontend!.write('\r\n\r\n')
this.frontend!.write('\r\n\r\n')
this.frontend!.write(colors.bgWhite.black(' * ') + colors.bgBlackBright.white(' History restored '))
this.frontend!.write('\r\n\r\n')
}
}
}
Expand Down

0 comments on commit 052d771

Please sign in to comment.