mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 15:02:32 +00:00
Add Alt+Up hotkey to restore queued messages (#604)
This commit is contained in:
parent
60f5a03576
commit
902d5d3d05
2 changed files with 42 additions and 10 deletions
|
|
@ -26,7 +26,8 @@ export type AppAction =
|
|||
| "expandTools"
|
||||
| "toggleThinking"
|
||||
| "externalEditor"
|
||||
| "followUp";
|
||||
| "followUp"
|
||||
| "dequeue";
|
||||
|
||||
/**
|
||||
* All configurable actions.
|
||||
|
|
@ -56,6 +57,7 @@ export const DEFAULT_APP_KEYBINDINGS: Record<AppAction, KeyId | KeyId[]> = {
|
|||
toggleThinking: "ctrl+t",
|
||||
externalEditor: "ctrl+g",
|
||||
followUp: "alt+enter",
|
||||
dequeue: "alt+up",
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
@ -80,6 +82,7 @@ const APP_ACTIONS: AppAction[] = [
|
|||
"toggleThinking",
|
||||
"externalEditor",
|
||||
"followUp",
|
||||
"dequeue",
|
||||
];
|
||||
|
||||
function isAppAction(action: string): action is AppAction {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue