resolve Eugeny/tabby#7723 reconnect command palette

This commit is contained in:
Clem
2023-04-10 19:48:27 +02:00
parent 3e559832ec
commit 178e4a6527
6 changed files with 47 additions and 7 deletions

View File

@@ -3,7 +3,7 @@ import colors from 'ansi-colors'
import { Component, Injector } from '@angular/core'
import { first } from 'rxjs'
import { GetRecoveryTokenOptions, Platform, RecoveryToken } from 'tabby-core'
import { BaseTerminalTabComponent } from 'tabby-terminal'
import { BaseTerminalTabComponent, Reconnectable } from 'tabby-terminal'
import { TelnetProfile, TelnetSession } from '../session'
@@ -14,7 +14,7 @@ import { TelnetProfile, TelnetSession } from '../session'
styleUrls: ['./telnetTab.component.scss', ...BaseTerminalTabComponent.styles],
animations: BaseTerminalTabComponent.animations,
})
export class TelnetTabComponent extends BaseTerminalTabComponent<TelnetProfile> {
export class TelnetTabComponent extends BaseTerminalTabComponent<TelnetProfile> implements Reconnectable {
Platform = Platform
session: TelnetSession|null = null
private reconnectOffered = false