Keys and mouse
The composer is a Readline prompt. A key belongs to what has focus: Enter in a panel chooses a row instead of sending a draft, and Esc closes the panel first. Each panel prints its own keys.
Sending
| Key | What it does |
|---|---|
| Enter | Send the draft, or run a slash command. |
| Alt+Enter, Shift+Enter | Insert a newline. Alt-Enter works everywhere; Shift-Enter needs a terminal that reports it. |
| Tab / Shift+Tab | Complete the slash command. |
Editing
| Key | What it does |
|---|---|
| Ctrl+A / Ctrl+E, Home / End | Start or end of the line. |
| Ctrl+B / Ctrl+F, Left / Right | One character. |
| Alt+B / Alt+F, Ctrl+Left / Ctrl+Right | One word. |
| Ctrl+Home / Ctrl+End, Alt+< / Alt+> | Start or end of the whole draft. |
| Ctrl+U / Ctrl+K | Delete to the start or end of the line. |
| Ctrl+W / Alt+Backspace, Alt+D | Delete the previous or next word. |
| Ctrl+Z / Ctrl+_ | Undo the latest edit. |
| Up / Down | Move between draft lines, then through submitted input. |
| Ctrl+P / Ctrl+N | Submitted input, directly. |
| Ctrl+R | Search backward through submitted input. |
The shell
| Key | What it does |
|---|---|
| Ctrl+C | Copy the selection and clear it; with nothing selected, stop the request; on an empty draft, clear it. |
| Ctrl+D | Delete forward, or exit when the composer is empty and nothing runs. |
| Ctrl+L | Redraw the screen, for a terminal that lost its contents. |
| Ctrl+T | Expand or collapse the newest thinking block. |
| Ctrl+V | Attach an image from the clipboard. A text paste uses the terminal's own key. |
| Page Up / Page Down | Scroll the conversation, keeping the composer focused. |
| Alt+Up / Alt+Down (also Ctrl+Up / Ctrl+Down) | Jump to your previous or next message, at the top of the view; while follow-ups wait, walk that list. |
| Esc | Stop the request; or first, return to the newest line, close a panel or the menu, or let go of a highlighted follow-up. |
| Tab | Accept the highlighted row in a panel or the command menu. |
While a request runs
Typing during a request asks whether it steers the task or follows up. Option is the ⌥ key on a Mac and Alt elsewhere.
| Key | What it does |
|---|---|
| Enter | Ask what the message is; in the question, take the highlighted row. |
| F / S | In the question: follow up or steer directly. Esc keeps the draft. |
| Option+Up / Option+Down | With nothing highlighted: walk into the follow-up list. With a message highlighted: move it one place. |
| Up / Down | With a follow-up highlighted: move the highlight; Down past the last row returns to the composer. |
| Enter | With a follow-up highlighted: take it into the composer; sending puts it back in its place. |
| Delete / Backspace | With a follow-up highlighted: remove it. |
| Esc | With a follow-up highlighted: let go. Without: stop the request; the follow-ups stay, held until your next reply. |
A steering message cannot be changed once sent. Typing while a request runs has the rest.
Answering a question
| Key | What it does |
|---|---|
| Up / Down | Move through the choices the model offered. |
| Enter | Act on the highlighted row: choose, tick or untick, or finish a multiple-choice answer. When you have typed, it sends that. |
| Anything you type | Edits the answer line; the choices fold away while you type, and Up/Down bring them back. |
| Esc, Ctrl+C | Decline: the model is told the question was cancelled. |
Mouse
| Action | What it does |
|---|---|
| Wheel | Scroll the conversation. |
| Click a Thinking or Tool row | Expand or collapse it. |
| Drag in the transcript | Select text; it is copied on release, and a pill confirms it. Dragging past the edge keeps extending. |
| Drag on a panel, the header, or the status line | Copy the text painted there. |
| Double-click | Select the whole row. |
| Shift+click | Extend the current selection. |
Hold the terminal's own modifier key (usually Shift or Alt) for its selection instead.