mirror of
https://github.com/Eugeny/tabby.git
synced 2025-10-05 06:24:56 +00:00
53 lines
922 B
TypeScript
53 lines
922 B
TypeScript
export interface ResizeEvent {
|
|
columns: number
|
|
rows: number
|
|
}
|
|
|
|
export interface SessionOptions {
|
|
name?: string
|
|
command: string
|
|
args: string[]
|
|
cwd?: string
|
|
env?: {[id: string]: string}
|
|
width?: number
|
|
height?: number
|
|
pauseAfterExit?: boolean
|
|
runAsAdministrator?: boolean
|
|
}
|
|
|
|
export interface Profile {
|
|
name: string,
|
|
sessionOptions: SessionOptions,
|
|
isBuiltin?: boolean
|
|
icon?: string
|
|
}
|
|
|
|
export interface TerminalColorScheme {
|
|
name: string
|
|
foreground: string
|
|
background: string
|
|
cursor: string
|
|
colors: string[]
|
|
}
|
|
|
|
export interface Shell {
|
|
id: string
|
|
name?: string
|
|
command: string
|
|
args?: string[]
|
|
env: {[id: string]: string}
|
|
|
|
/**
|
|
* Base path to which shell's internal FS is relative
|
|
* Currently used for WSL only
|
|
*/
|
|
fsBase?: string
|
|
|
|
/**
|
|
* SVG icon
|
|
*/
|
|
icon?: string
|
|
|
|
hidden?: boolean
|
|
}
|