Ray's Knowledge Base
Unlock

A TUI Alt+letter shortcut works only if the terminal sends Option/Alt as an ESC prefix

FactVerified 2 Oct 2026Holds anywhere
Fact. A statement and the evidence for it.

Statement#

macOS Terminal.app does not do this by default. iTerm needs its "Esc+" setting, and Kitty-protocol terminals send it. Ask which terminal the user runs before binding an Alt+letter key. A slash-command fallback is a poor substitute for an editor-focus key in pi, because running a command replaces the user's draft.

Evidence#

Noted in the rvow pi dock work on 2026-10-02 (alt+r binding), from the session notes; not re-run.

Also found by searching

  • alt+r does nothing in my terminal UI
  • Option key does not send ESC prefix in Terminal.app
  • which terminals send Alt as an escape prefix
  • bind an Alt+letter key in a TUI