mirror of
https://github.com/Eugeny/tabby
synced 2025-01-23 02:15:31 +00:00
19 lines
543 B
TypeScript
19 lines
543 B
TypeScript
export abstract class TerminalDecorator {
|
|
abstract decorate (terminal): void
|
|
}
|
|
|
|
export interface SessionOptions {
|
|
name?: string,
|
|
command?: string,
|
|
args?: string[],
|
|
cwd?: string,
|
|
env?: any,
|
|
recoveryId?: string
|
|
recoveredTruePID?: number
|
|
}
|
|
|
|
export abstract class SessionPersistenceProvider {
|
|
abstract async attachSession (recoveryId: any): Promise<SessionOptions>
|
|
abstract async startSession (options: SessionOptions): Promise<any>
|
|
abstract async terminateSession (recoveryId: string): Promise<void>
|
|
}
|