diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md index 6f45f896..a07112c0 100644 --- a/packages/coding-agent/CHANGELOG.md +++ b/packages/coding-agent/CHANGELOG.md @@ -5,6 +5,7 @@ ### Added - Extension example: `notify.ts` for desktop notifications via OSC 777 escape sequence ([#658](https://github.com/badlogic/pi-mono/pull/658) by [@ferologics](https://github.com/ferologics)) +- Inline hint for queued messages showing the `Alt+Up` restore shortcut ([#657](https://github.com/badlogic/pi-mono/pull/657) by [@tmustier](https://github.com/tmustier)) ## [0.43.0] - 2026-01-11 diff --git a/packages/coding-agent/README.md b/packages/coding-agent/README.md index 9933a60a..98f7e24d 100644 --- a/packages/coding-agent/README.md +++ b/packages/coding-agent/README.md @@ -304,6 +304,7 @@ Both modes are configurable via `/settings`: "one-at-a-time" delivers messages o | Ctrl+T | Toggle thinking block visibility | | Ctrl+G | Edit message in external editor (`$VISUAL` or `$EDITOR`) | | Ctrl+V | Paste image from clipboard | +| Alt+Up | Restore queued messages to editor | ### Custom Keybindings @@ -348,6 +349,7 @@ All keyboard shortcuts can be customized via `~/.pi/agent/keybindings.json`. Eac | `toggleThinking` | `ctrl+t` | Toggle thinking | | `externalEditor` | `ctrl+g` | Open external editor | | `followUp` | `alt+enter` | Queue follow-up message | +| `dequeue` | `alt+up` | Restore queued messages to editor | | `selectUp` | `up` | Move selection up in lists (session picker, model selector) | | `selectDown` | `down` | Move selection down in lists | | `selectConfirm` | `enter` | Confirm selection | diff --git a/packages/coding-agent/src/modes/interactive/interactive-mode.ts b/packages/coding-agent/src/modes/interactive/interactive-mode.ts index dc4019bf..03bdeb9a 100644 --- a/packages/coding-agent/src/modes/interactive/interactive-mode.ts +++ b/packages/coding-agent/src/modes/interactive/interactive-mode.ts @@ -421,7 +421,7 @@ export class InteractiveMode { theme.fg("muted", " to queue follow-up") + "\n" + theme.fg("dim", dequeue) + - theme.fg("muted", " to restore queued messages") + + theme.fg("muted", " to edit all queued messages") + "\n" + theme.fg("dim", "ctrl+v") + theme.fg("muted", " to paste image") + @@ -2328,6 +2328,9 @@ export class InteractiveMode { const text = theme.fg("dim", `Follow-up: ${message}`); this.pendingMessagesContainer.addChild(new TruncatedText(text, 1, 0)); } + const dequeueHint = this.getAppKeyDisplay("dequeue"); + const hintText = theme.fg("dim", `↳ ${dequeueHint} to edit all queued messages`); + this.pendingMessagesContainer.addChild(new TruncatedText(hintText, 1, 0)); } }