mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-09 10:01:48 +00:00
made context menu extensible
This commit is contained in:
@@ -41,6 +41,12 @@ export abstract class TerminalColorSchemeProvider {
|
||||
abstract async getSchemes (): Promise<ITerminalColorScheme[]>
|
||||
}
|
||||
|
||||
export abstract class TerminalContextMenuItemProvider {
|
||||
weight: number
|
||||
|
||||
abstract async getItems (tab: TerminalTabComponent): Promise<Electron.MenuItemConstructorOptions[]>
|
||||
}
|
||||
|
||||
export interface IShell {
|
||||
id: string
|
||||
name?: string
|
||||
|
Reference in New Issue
Block a user