Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Keyboard Shortcuts

Keyboard handling source: crates/tui/src/app/update/keys.rs.

Global / Input Shortcuts

ShortcutBehavior
Ctrl+CInterrupt streaming; or clear input; or press twice on empty input to exit.
Ctrl+DImmediate shutdown.
Ctrl+LClear output buffer.
Ctrl+VPaste from clipboard.
Ctrl+YCopy last assistant response to clipboard.
Ctrl+- / Ctrl+_Send undo operation.
Ctrl+OToggle collapse for latest tool block.
Ctrl+NFocus next agent (multi-agent view).
Ctrl+PFocus previous agent (multi-agent view).
Alt+P / Alt+Shift+POpen model picker.
Alt+T / Alt+Shift+TCycle thinking level.
EscInterrupt stream, dismiss completer, open backtrack flow, or clear input depending on state.
TabCycle completion candidates; trigger completion; or cycle agent focus if input is empty.
Shift+TabCycle mode.
EnterApply completion and submit input.
Shift+EnterInsert newline.
Up / DownHistory navigation or completer navigation.
Right / LeftNavigate file completion directory context when file completer is active.
? (empty input)Open help overlay.

Permission Prompt Shortcuts

When a permission request is active:

KeyDecision
yAllow once
nDeny
aAlways allow (session)
!Bypass all approvals
Ctrl+CDeny

Behavior Notes

  • Modals intercept keys before normal input routing.
  • Permission prompts intercept keys before normal routing.
  • Any non-Ctrl+C key resets pending "press Ctrl+C again to exit" state.
  • Any non-Esc key clears pending "Esc again to clear input" state.