feat: 命令右键菜单.

This commit is contained in:
lijiahang
2024-01-25 17:43:44 +08:00
parent 3011ecee9e
commit 6ac99b692d
10 changed files with 203 additions and 62 deletions

View File

@@ -75,15 +75,19 @@ export interface TerminalShortcutSetting {
}
// 终端快捷键
export interface TerminalShortcutKey {
item: string;
enabled: boolean;
export interface ShortcutKey {
ctrlKey: boolean;
shiftKey: boolean;
altKey: boolean;
code: string;
}
// 终端快捷键
export interface TerminalShortcutKey extends ShortcutKey {
item: string;
enabled: boolean;
}
// 终端快捷键编辑
export interface TerminalShortcutKeyEditable extends TerminalShortcutKey {
editable: boolean;