mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 14:03:49 +00:00
feat(coding-agent): tweak queued hint text
This commit is contained in:
parent
06bf2493a1
commit
520e3b02f3
3 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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 |
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue