Skip to content

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 ​

KeyWhat it does
EnterSend the draft, or run a slash command.
Alt+Enter, Shift+EnterInsert a newline. Alt-Enter works everywhere; Shift-Enter needs a terminal that reports it.
Tab / Shift+TabComplete the slash command.

Editing ​

KeyWhat it does
Ctrl+A / Ctrl+E, Home / EndStart or end of the line.
Ctrl+B / Ctrl+F, Left / RightOne character.
Alt+B / Alt+F, Ctrl+Left / Ctrl+RightOne word.
Ctrl+Home / Ctrl+End, Alt+< / Alt+>Start or end of the whole draft.
Ctrl+U / Ctrl+KDelete to the start or end of the line.
Ctrl+W / Alt+Backspace, Alt+DDelete the previous or next word.
Ctrl+Z / Ctrl+_Undo the latest edit.
Up / DownMove between draft lines, then through submitted input.
Ctrl+P / Ctrl+NSubmitted input, directly.
Ctrl+RSearch backward through submitted input.

The shell ​

KeyWhat it does
Ctrl+CCopy the selection and clear it; with nothing selected, stop the request; on an empty draft, clear it.
Ctrl+DDelete forward, or exit when the composer is empty and nothing runs.
Ctrl+LRedraw the screen, for a terminal that lost its contents.
Ctrl+TExpand or collapse the newest thinking block.
Ctrl+VAttach an image from the clipboard. A text paste uses the terminal's own key.
Page Up / Page DownScroll 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.
EscStop the request; or first, return to the newest line, close a panel or the menu, or let go of a highlighted follow-up.
TabAccept 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.

KeyWhat it does
EnterAsk what the message is; in the question, take the highlighted row.
F / SIn the question: follow up or steer directly. Esc keeps the draft.
Option+Up / Option+DownWith nothing highlighted: walk into the follow-up list. With a message highlighted: move it one place.
Up / DownWith a follow-up highlighted: move the highlight; Down past the last row returns to the composer.
EnterWith a follow-up highlighted: take it into the composer; sending puts it back in its place.
Delete / BackspaceWith a follow-up highlighted: remove it.
EscWith 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 ​

KeyWhat it does
Up / DownMove through the choices the model offered.
EnterAct on the highlighted row: choose, tick or untick, or finish a multiple-choice answer. When you have typed, it sends that.
Anything you typeEdits the answer line; the choices fold away while you type, and Up/Down bring them back.
Esc, Ctrl+CDecline: the model is told the question was cancelled.

Mouse ​

ActionWhat it does
WheelScroll the conversation.
Click a Thinking or Tool rowExpand or collapse it.
Drag in the transcriptSelect 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 lineCopy the text painted there.
Double-clickSelect the whole row.
Shift+clickExtend the current selection.

Hold the terminal's own modifier key (usually Shift or Alt) for its selection instead.

Released under the MIT license.