Docs/Keybindings

Keybindings

Inside a hosted session (constant host), the default prefix is Ctrl-B. Press it, release, then a key.

KeysAction
Ctrl-B cContinue in Claude Code, refreshing the existing projection
Ctrl-B CCreate a new Claude continuation
Ctrl-B xContinue in Codex, refreshing the existing projection
Ctrl-B XCreate a new Codex continuation
Ctrl-B oContinue in OpenCode, refreshing the existing projection
Ctrl-B OCreate a new OpenCode continuation
Ctrl-B tToggle the trail graph (inside it: c/x/o switch, r renames, q closes)
Ctrl-B :Open the command line (switch claude, new opencode, rename …, quit)
Ctrl-B dQuit — the hosted CLI exits with it
Ctrl-B Ctrl-BSend a literal Ctrl-B to the child runtime

Lowercase refreshes the existing projection for that runtime; uppercase creates a new continuation. See Carrying a thread for continue vs. new.

In the command line, Tab completes verbs and runtime names, rename + Tab prefills the conversation's current name, and ↑/↓ recall history.

Changing the prefix

If you are already inside tmux, Ctrl-B is taken. Pick another:

constant host codex --prefix C-t
CONSTANT_PREFIX=C-t constant host codex

Debugging the prefix

constant keys

This prints the raw bytes for each key. Codex enables the Kitty keyboard protocol, so Ctrl-B can arrive as an escape sequence rather than a raw byte; Constant recognizes both the legacy and Kitty encodings.