Add Alt+Up hotkey to restore queued messages (#604)

This commit is contained in:
Thomas Mustier 2026-01-09 19:31:51 +00:00 committed by GitHub
parent 60f5a03576
commit 902d5d3d05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 42 additions and 10 deletions

View file

@ -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 {