tabby/tabby-terminal/src/api/interfaces.ts

24 lines
555 B
TypeScript

import { ConnectableProfile, Profile } from 'tabby-core'
export interface ResizeEvent {
columns: number
rows: number
}
export interface TerminalColorScheme {
name: string
foreground: string
background: string
cursor: string
colors: string[]
selection?: string
selectionForeground?: string
cursorAccent?: string
}
export interface BaseTerminalProfile extends Profile {
terminalColorScheme?: TerminalColorScheme
}
export interface ConnectableTerminalProfile extends BaseTerminalProfile, ConnectableProfile {}