feat: 快捷键设置.

This commit is contained in:
lijiahang
2024-01-17 18:50:18 +08:00
parent 0eed20e54f
commit fc28391927
10 changed files with 474 additions and 241 deletions

View File

@@ -82,8 +82,12 @@ export interface TerminalShortcutKey {
shiftKey: boolean;
altKey: boolean;
code: string;
// extra
edit: boolean;
}
// 终端快捷键编辑
export interface TerminalShortcutKeyEditable extends TerminalShortcutKey {
editable: boolean;
content: string;
type: number;
shortcutKey?: string;
}