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 :Open the Constant command line (switch claude, new claude, quit)
Ctrl-B dDetach and exit cleanly
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.

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.