Skip to content

Commit 520e3b0

Browse files
tmustierbadlogic
authored andcommitted
feat(coding-agent): tweak queued hint text
1 parent 06bf249 commit 520e3b0

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

packages/coding-agent/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Added
66

77
- 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))
8+
- 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))
89

910
## [0.43.0] - 2026-01-11
1011

packages/coding-agent/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ Both modes are configurable via `/settings`: "one-at-a-time" delivers messages o
304304
| Ctrl+T | Toggle thinking block visibility |
305305
| Ctrl+G | Edit message in external editor (`$VISUAL` or `$EDITOR`) |
306306
| Ctrl+V | Paste image from clipboard |
307+
| Alt+Up | Restore queued messages to editor |
307308

308309
### Custom Keybindings
309310

@@ -348,6 +349,7 @@ All keyboard shortcuts can be customized via `~/.pi/agent/keybindings.json`. Eac
348349
| `toggleThinking` | `ctrl+t` | Toggle thinking |
349350
| `externalEditor` | `ctrl+g` | Open external editor |
350351
| `followUp` | `alt+enter` | Queue follow-up message |
352+
| `dequeue` | `alt+up` | Restore queued messages to editor |
351353
| `selectUp` | `up` | Move selection up in lists (session picker, model selector) |
352354
| `selectDown` | `down` | Move selection down in lists |
353355
| `selectConfirm` | `enter` | Confirm selection |

packages/coding-agent/src/modes/interactive/interactive-mode.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ export class InteractiveMode {
421421
theme.fg("muted", " to queue follow-up") +
422422
"\n" +
423423
theme.fg("dim", dequeue) +
424-
theme.fg("muted", " to restore queued messages") +
424+
theme.fg("muted", " to edit all queued messages") +
425425
"\n" +
426426
theme.fg("dim", "ctrl+v") +
427427
theme.fg("muted", " to paste image") +
@@ -2328,6 +2328,9 @@ export class InteractiveMode {
23282328
const text = theme.fg("dim", `Follow-up: ${message}`);
23292329
this.pendingMessagesContainer.addChild(new TruncatedText(text, 1, 0));
23302330
}
2331+
const dequeueHint = this.getAppKeyDisplay("dequeue");
2332+
const hintText = theme.fg("dim", `↳ ${dequeueHint} to edit all queued messages`);
2333+
this.pendingMessagesContainer.addChild(new TruncatedText(hintText, 1, 0));
23312334
}
23322335
}
23332336

0 commit comments

Comments
 (0)