Dokumentationerreichbar
Anthropic, Configure your terminal for Claude Code
code.claude.com (externe Seite)
Die Herstellerdokumentation zur Einrichtung des Terminals für Claude Code, geordnet nach Symptom: Zeilenumbruch mit Shift+Enter, Option-Taste unter mac
geprüft 22.11.2026
Worauf sich diese Seite beruft, wörtlich, abgerufen am 10.10.2026:
Pressing Enter submits your message.
bestätigt 22.11.2026To add a line break without submitting, press Ctrl+J
bestätigt 22.11.2026In most terminals you can also press Shift+Enter, but support varies by terminal emulator
bestätigt 22.11.2026On mac
bestätigt 22.11.2026OS, most terminals do not send Option as a modifier by default, so these shortcuts do nothing until you enable it. When you paste more than 800 characters or more than three lines into the prompt, Claude Code collapses the input to a placeholder
bestätigt 22.11.2026Claude Code does not control the terminal's own color scheme, which is set by the terminal application.
bestätigt 22.11.2026When Claude Code runs inside tmux, by default Shift+Enter submits instead of inserting a newline
bestätigt 22.11.2026Add these lines to ~/.tmux.conf, then run tmux source-file ~/.tmux.conf to apply them to the running server
bestätigt 22.11.2026To use Shift+Enter, keep the last two lines, then detach from tmux, attach again, and restart Claude Code.
bestätigt 22.11.2026