mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
feat(shortcuts): add half-page message scroll shortcuts
This commit is contained in:
1 parent
b06de60f6b
commit
7e8443f54f
5 files changed
+28
-2
No files matched your search
@@ -89,11 +89,13 @@ export const DEFAULT_KEYBOARD_SHORTCUTS = {
|
||||
toggleSourceControl: 'D',
|
||||
timeline: 'G',
|
||||
exportSession: 'X',
|
||||
halfPageUp: 'Ctrl+U',
|
||||
halfPageDown: 'Ctrl+D',
|
||||
} satisfies Record<string, string>;
|
||||
|
||||
export type KeyboardShortcutAction = keyof typeof DEFAULT_KEYBOARD_SHORTCUTS;
|
||||
|
||||
export const DEFAULT_DIRECT_SHORTCUTS = ['submit', 'abort', 'clearPrompt', 'variantCycle', 'toggleTerminal'];
|
||||
export const DEFAULT_DIRECT_SHORTCUTS = ['submit', 'abort', 'clearPrompt', 'variantCycle', 'toggleTerminal', 'halfPageUp', 'halfPageDown'];
|
||||
|
||||
export const GitCredentialSchema = z.object({
|
||||
id: z.string().optional(),
|
||||
|
||||
Reference in new issue
Block a user