Mogplex Docs
Reference

Keybindings

Focus rotation, exit behavior, drawer keys, and the Ctrl+C soft-interrupt.

Exit

ActionWhat happens
Ctrl+C (single press)Soft-interrupt — logs [soft-interrupt] to stderr. Does not quit.
Ctrl+C twice within 1500msClean exit. Restores terminal state, stops the dispatcher, destroys the renderer.
qClean exit, but only when no drawer or help overlay is open. While a drawer is open, q is reserved for the drawer.
/quit (alias /exit)Clean exit from the composer.

The double-tap-to-exit rule prevents accidental quit-on-Ctrl+C while a long run is in flight. Hitting Ctrl+C once is the conventional "soft cancel" — hitting it twice means you really want out.

Focus

ActionKey
Focus the Agents panelfocus:agents (via Command Palette or palette shortcut)
Focus the Timelinefocus:timeline
Focus the Composerfocus:composer

The exact shortcut keys are surfaced in the Command Palette (/help to open the palette and search "Focus").

Drawer keys

When a drawer is open:

KeyAction
EscClose the drawer
/ Move selection within the drawer
EnterActivate the focused item (varies per drawer)
aApprove (Approval drawer)
rReject (Approval drawer)
q(reserved by the drawer; does not quit the app)

Each drawer can register its own additional keymap. See the per-drawer entries in Reference → Drawers.

Composer

KeyAction
EnterSend
Shift+EnterNewline
TabAutocomplete slash command
/ Browse composer history

Command Palette

KeyAction
Open paletteListed in /help, also via the Open Command Palette action
TypeFuzzy-search across commands, drawers, controls, focus targets
EnterRun the selected action

Signals

SignalBehavior
SIGINT (Ctrl+C)Soft-interrupt then double-tap to exit (see above)
SIGTERMClean exit
crash / unhandled exceptionTerminal state is restored on the way out

The terminal is always restored on exit — cursor visible, raw mode off — even if the renderer crashed.

Edit on GitHub

On this page