Command
/terminal-setup
Installs the keybinding some terminals need for Shift+Enter to insert a newline instead of submitting the message.
Not every terminal forwards Shift+Enter as a distinct key combination by default — some just see it as Enter. /terminal-setup installs the specific keybinding your terminal needs so the two are actually distinguishable.
This is a one-time setup per terminal, not per project — once it's run for a given terminal application, Shift+Enter should work correctly in every session from then on.
If multi-line input still submits early after running this, double-check you're testing in the same terminal application the setup was run in, since the fix is terminal-specific.
/terminal-setupFrequently asked questions
What does /terminal-setup do in Claude Code?
Installs the keybinding some terminals need for Shift+Enter to insert a newline instead of submitting the message.
How do I use it?
Try: /terminal-setup
Any caveats to know about?
If multi-line input still submits early after running this, double-check you're testing in the same terminal application the setup was run in, since the fix is terminal-specific.
Is this covered in OG Flow Code Premium Toolkit?
Yes — /terminal-setup and patterns like it are covered by the commands, and in higher tiers the specialist agents and guided skills, in OG Flow Code Premium Toolkit. Tiers start at $19.90.
Want the full command, hook, and template pack?
This is one pattern from the OG Flow Code toolkit. Choose the tier that fits your workflow, including Multi-Stack for six additional language stacks.
See pricing — from $19.90 once