Merge pull request #8201 from Clem-Fern/feat#7723

This commit is contained in:
Eugene
2023-04-12 09:42:50 +02:00
committed by GitHub
11 changed files with 61 additions and 8 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