Answer: In most terminals you can press Shift+Enter to insert a newline, but support varies: it works without setup in Ghostty, Kitty, iTerm2, WezTerm, Warp, and Windows Terminal 1.25 or later, and in terminals supporting the kitty keyboard protocol such as foot and Alacritty 0.16 or later (requiring Claude Code v2.1.269 or later). For VS Code, Cursor, Devin Desktop, Alacritty before 0.16, and Zed, run `/terminal-setup` once; in gnome-terminal, Windows Terminal before 1.25, and JetBrains IDEs it is not available, so use Ctrl+J or `\` then Enter. Status: Confirmed Entry: tool/claude-code/commands-and-shortcuts/multiline-prompts-shift-enter Revision: 7 Digest: sha256:339eab85b529cf13 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:05:58Z Last changed: 2026-11-20T12:25:47Z (universal newline alternatives: — → Ctrl+J) Last verified: 2026-11-20T12:25:47Z Next check: 2026-11-21T12:25:47Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of terminals working without setup | Ghostty, Kitty, iTerm2, WezTerm, Warp, Windows Terminal 1.25 or later | [1] | 2026-11-20 kitty protocol terminals | foot and Alacritty 0.16 or later | [1] | 2026-11-20 required version for kitty protocol | v2.1.269 or later | [1] | 2026-11-20 terminals needing /terminal-setup | VS Code, Cursor, Devin Desktop, Alacritty before 0.16, Zed | [1] | 2026-11-20 terminals without Shift+Enter support | gnome-terminal, Windows Terminal before 1.25, JetBrains IDEs such as PyCharm and Android Studio | [1] | 2026-11-20 universal newline alternatives | Ctrl+J | [1] | 2026-11-20 Sources: [1] Anthropic. "Configure your terminal for Claude Code". https://code.claude.com/docs/en/terminal-config.md Role: primary. Accessed: 2026-11-20T12:25:47Z Quote: "Ghostty, Kitty, iTerm2, WezTerm, Warp, Windows Terminal 1.25 or later | Works without setup" (Supports: terminals working without setup) Quote: "Other terminals that support the kitty keyboard protocol, such as foot and Alacritty 0.16 or later" (Supports: kitty protocol terminals) Quote: "Requires Claude Code v2.1.269 or later" (Supports: required version for kitty protocol) Quote: "VS Code, Cursor, Devin Desktop, Alacritty before 0.16, Zed | Run `/terminal-setup` once" (Supports: terminals needing /terminal-setup) Quote: "gnome-terminal, Windows Terminal before 1.25, JetBrains IDEs such as PyCharm and Android Studio | Not available; use Ctrl+J or `\` then Enter" (Supports: terminals without Shift+Enter support) Quote: "To add a line break without submitting, press Ctrl+J, or type `\` and then press Enter." (Supports: universal newline alternatives) Published: 2026-11-20T02:55:45Z Snapshot SHA-256: cbeb76e3cc6c1db8ce74eb431985bffa185f5fb6a3c5dfb98b893ba60f8728fd (captured 2026-11-20T12:25:47Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:25:47Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:25:47Z Last attempt: 2026-11-20T12:25:47Z Notes and limitations: Extracted automatically from a single official source (section "Enter multiline prompts"). Related: https://latestn.com/tool/claude-code/commands-and-shortcuts/name-session How do I name a Claude Code session? https://latestn.com/tool/claude-code/commands-and-shortcuts/pass-arguments-to-skills How do I pass arguments to a skill in Claude Code? https://latestn.com/tool/claude-code/commands-and-shortcuts/queued-commands-during-response What happens if I send a command while Claude Code is responding? https://latestn.com/tool/claude-code/commands-and-shortcuts/feedback-command How do I send feedback about Claude Code using the /feedback command? https://latestn.com/tool/claude-code/commands-and-shortcuts/list-available-commands How do I see the list of available commands in Claude Code? https://latestn.com/tool/claude-code/commands-and-shortcuts/memory-command How do I view and edit Claude Code's memory with the /memory command? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T12:25:47Z | changed | universal newline alternatives: — → Ctrl+J | [1] 2026-11-20T12:25:47Z | changed | terminals without Shift+Enter support: — → gnome-terminal, Windows Terminal before 1.25, JetBrains IDEs such as PyCharm and Android Studio | [1] 2026-11-20T12:25:47Z | changed | terminals needing /terminal-setup: — → VS Code, Cursor, Devin Desktop, Alacritty before 0.16, Zed | [1] 2026-11-20T12:25:47Z | changed | required version for kitty protocol: — → v2.1.269 or later | [1] 2026-11-20T12:25:47Z | changed | kitty protocol terminals: — → foot and Alacritty 0.16 or later | [1] 2026-11-20T12:25:47Z | changed | terminals working without setup: — → Ghostty, Kitty, iTerm2, WezTerm, Warp, Windows Terminal 1.25 or later | [1] 2026-11-20T12:25:47Z | changed | Universal alternatives: Ctrl+J → — | [1] 2026-11-20T12:25:47Z | changed | Kitty protocol version requirement: v2.1.269 or later → — | [1] 2026-11-20T12:25:47Z | changed | Terminals without support: Not available; use Ctrl+J or `\` then Enter → — | [1] 2026-11-20T12:25:47Z | changed | Terminals needing setup: Run `/terminal-setup` once → — | [1] 2026-11-20T12:25:47Z | changed | Shift+Enter newline: Works without setup → — | [1] 2026-11-19T12:20:55Z | changed | Universal alternatives: — → Ctrl+J | [1] 2026-11-19T12:20:55Z | changed | Kitty protocol version requirement: — → v2.1.269 or later | [1] 2026-11-19T12:20:55Z | changed | Terminals without support: — → Not available; use Ctrl+J or `\` then Enter | [1] 2026-11-19T12:20:55Z | changed | Terminals needing setup: — → Run `/terminal-setup` once | [1] 2026-11-19T12:20:55Z | changed | Shift+Enter newline: — → Works without setup | [1] 2026-11-19T12:20:55Z | changed | universal newline alternatives: Ctrl+J → — | [1] 2026-11-19T12:20:55Z | changed | terminals without Shift+Enter: gnome-terminal, Windows Terminal before 1.25, JetBrains IDEs such as PyCharm and Android Studio → — | [1] 2026-11-19T12:20:55Z | changed | terminals needing /terminal-setup: VS Code, Cursor, Devin Desktop, Alacritty before 0.16, Zed → — | [1] 2026-11-19T12:20:55Z | changed | required Claude Code version: v2.1.269 or later → — | [1] 2026-11-19T12:20:55Z | changed | kitty protocol terminals: foot and Alacritty 0.16 or later → — | [1] 2026-11-19T12:20:55Z | changed | terminals working without setup: Ghostty, Kitty, iTerm2, WezTerm, Warp, Windows Terminal 1.25 or later → — | [1] 2026-11-17T12:31:52Z | changed | universal newline alternatives: — → Ctrl+J | [1] 2026-11-17T12:31:52Z | changed | terminals without Shift+Enter: — → gnome-terminal, Windows Terminal before 1.25, JetBrains IDEs such as PyCharm and Android Studio | [1] 2026-11-17T12:31:52Z | changed | terminals needing /terminal-setup: — → VS Code, Cursor, Devin Desktop, Alacritty before 0.16, Zed | [1] 2026-11-17T12:31:52Z | changed | required Claude Code version: — → v2.1.269 or later | [1] 2026-11-17T12:31:52Z | changed | kitty protocol terminals: — → foot and Alacritty 0.16 or later | [1] 2026-11-17T12:31:52Z | changed | terminals working without setup: — → Ghostty, Kitty, iTerm2, WezTerm, Warp, Windows Terminal 1.25 or later | [1] 2026-11-17T12:31:52Z | changed | Alternative newline keys: Ctrl+J → — | [1] 2026-11-17T12:31:52Z | changed | Kitty keyboard protocol version requirement: v2.1.269 or later → — | [1] 2026-11-17T12:31:52Z | changed | Terminals without Shift+Enter support: Not available; use Ctrl+J or `\` then Enter → — | [1] 2026-11-17T12:31:52Z | changed | Terminals needing /terminal-setup: Run `/terminal-setup` once → — | [1] 2026-11-17T12:31:52Z | changed | Shift+Enter newline support: Works without setup → — | [1] 2026-11-16T12:13:02Z | changed | Alternative newline keys: — → Ctrl+J | [1] 2026-11-16T12:13:02Z | changed | Kitty keyboard protocol version requirement: — → v2.1.269 or later | [1] 2026-11-16T12:13:02Z | changed | Terminals without Shift+Enter support: — → Not available; use Ctrl+J or `\` then Enter | [1] 2026-11-16T12:13:02Z | changed | Terminals needing /terminal-setup: — → Run `/terminal-setup` once | [1] 2026-11-16T12:13:02Z | changed | Shift+Enter newline support: — → Works without setup | [1] 2026-11-16T12:13:02Z | changed | Alacritty version: 0.16 → — | [1] 2026-11-16T12:13:02Z | changed | Kitty protocol version requirement: v2.1.269 or later → — | [1] 2026-11-16T12:13:02Z | changed | Universal alternatives: Ctrl+J → — | [1] 2026-11-16T12:13:02Z | changed | Terminals without support: Not available; use Ctrl+J or `\` then Enter → — | [1] 2026-11-16T12:13:02Z | changed | Terminals needing setup: Run `/terminal-setup` once → — | [1] 2026-11-16T12:13:02Z | changed | Shift+Enter newline: Works without setup → — | [1] 2026-11-14T12:21:27Z | changed | Alacritty version: — → 0.16 | [1] 2026-11-14T12:21:27Z | changed | Kitty protocol version requirement: — → v2.1.269 or later | [1] 2026-11-14T12:21:27Z | changed | Universal alternatives: — → Ctrl+J | [1] 2026-11-14T12:21:27Z | changed | Terminals without support: — → Not available; use Ctrl+J or `\` then Enter | [1] 2026-11-14T12:21:27Z | changed | Terminals needing setup: — → Run `/terminal-setup` once | [1] 2026-11-14T12:21:27Z | changed | Shift+Enter newline: — → Works without setup | [1] 2026-11-14T12:21:27Z | changed | universal newline alternatives: Ctrl+J → — | [1] 2026-11-14T12:21:27Z | changed | terminals without Shift+Enter: Not available; use Ctrl+J or `\` then Enter → — | [1] 2026-11-14T12:21:27Z | changed | terminals needing /terminal-setup: Run `/terminal-setup` once → — | [1] 2026-11-14T12:21:27Z | changed | kitty keyboard protocol version requirement: v2.1.269 or later → — | [1] 2026-11-14T12:21:27Z | changed | Shift+Enter newline support: Works without setup → — | [1] 2026-11-13T12:14:53Z | changed | universal newline alternatives: — → Ctrl+J | [1] 2026-11-13T12:14:53Z | changed | terminals without Shift+Enter: — → Not available; use Ctrl+J or `\` then Enter | [1] 2026-11-13T12:14:53Z | changed | terminals needing /terminal-setup: — → Run `/terminal-setup` once | [1] 2026-11-13T12:14:53Z | changed | kitty keyboard protocol version requirement: — → v2.1.269 or later | [1] 2026-11-13T12:14:53Z | changed | Universal newline alternatives: Ctrl+J → — | [1] 2026-11-13T12:14:53Z | changed | Kitty keyboard protocol version requirement: v2.1.269 or later → — | [1] 2026-11-13T12:14:53Z | changed | Terminals without Shift+Enter: Not available; use Ctrl+J or `\` then Enter → — | [1] 2026-11-13T12:14:53Z | changed | Terminals needing /terminal-setup: Run `/terminal-setup` once → — | [1] 2026-11-13T03:05:58Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/commands-and-shortcuts/multiline-prompts-shift-enter/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/commands-and-shortcuts/multiline-prompts-shift-enter POST: https://latestn.com/dispute/tool/claude-code/commands-and-shortcuts/multiline-prompts-shift-enter with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/commands-and-shortcuts/multiline-prompts-shift-enter?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I make Shift+Enter insert a newline instead of submitting in Claude Code? Revision 7, last verified 2026-11-20T12:25:47Z. https://latestn.com/tool/claude-code/commands-and-shortcuts/multiline-prompts-shift-enter (accessed 2026-11-21T10:07:09Z). @misc{LatestN_tool_claude_code_commands_and_shortcuts_multiline_prompts_shift_enter_r7, title = {How do I make Shift+Enter insert a newline instead of submitting in Claude Code?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/commands-and-shortcuts/multiline-prompts-shift-enter}}, note = {Revision 7; digest sha256:339eab85b529cf13; last verified 2026-11-20T12:25:47Z; accessed 2026-11-21T10:07:09Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/commands-and-shortcuts/multiline-prompts-shift-enter