Terminal Setup
Atomic uses the Kitty keyboard protocol for reliable modifier key detection. Most modern terminals support this protocol, but some require configuration.Startup typing
On normal interactive TTY startup, Atomic starts a short-lived raw keyboard capture before deferred resources finish loading and keeps it active until the TUI input handler is mounted. Text typed before the prompt box is fully mounted is replayed into the editor. Enter-submitted ordinary prompts are queued for the prompt loop once startup is ready; command-like submissions such as/settings or !pwd are replayed as standalone editor submissions through normal command routing. If a command-like submission is captured, later captured submissions wait behind it and replay in original input order after that command is routed, so a later ordinary prompt cannot run before the earlier command and commands are not merged with following prompts. Startup work that can affect correctness, such as project trust prompts, resume/session selectors, cross-project session confirmations, explicit resource flags, metadata commands, non-TTY input, or explicit provider/model selection, still stays on the synchronous path instead of using this pre-session capture.
Kitty, iTerm2
Work out of the box.Apple Terminal
Atomic enables enhanced key reporting when available. If Terminal.app still sends plain Return forSHIFT+Enter, Atomic uses a local macOS modifier fallback to treat that Return as SHIFT+Enter.
This fallback only works when Atomic runs on the same Mac as Terminal.app. It cannot detect the local keyboard over remote SSH.
Ghostty
Add to your Ghostty config (~/Library/Application Support/com.mitchellh.ghostty/config on macOS, ~/.config/ghostty/config on Linux):
CTRL+J, so tmux and Atomic no longer see a real shift+enter key event.
If Claude Code 2.x or newer is the only reason you added that mapping, you can remove it, unless you want to use Claude Code in tmux, where it still requires that Ghostty mapping.
If you want SHIFT+Enter to keep working in tmux via that remap, add ctrl+j to your Atomic tui.input.newLine keybinding in ~/.atomic/agent/keybindings.json:
WezTerm
WezTerm usually works out of the box forSHIFT+Enter via xterm modifyOtherKeys. To use the Kitty keyboard protocol explicitly, create ~/.wezterm.lua:
Option+Enter to fullscreen by default. To use Option+Enter for Atomic follow-up queueing, add this key override:
config.keys table, add the entry to it.
On WSL, WezTerm may require a visible hardware cursor for IME candidate window positioning. If CJK IME candidates do not follow the text cursor, set ATOMIC_HARDWARE_CURSOR=1 before running Atomic or set showHardwareCursor to true in settings. The legacy PI_HARDWARE_CURSOR=1 alias also works.
Alacritty
Alacritty usually works out of the box forSHIFT+Enter. On macOS, Option+Enter may arrive as plain Enter. To use Option+Enter for Atomic follow-up queueing, add to ~/.config/alacritty/alacritty.toml:
VS Code (Integrated Terminal)
VS Code 1.109.5 and newer enable Kitty keyboard protocol in the integrated terminal by default, soSHIFT+Enter should work out of the box.
VS Code versions older than 1.109.5 need an explicit terminal keybinding for SHIFT+Enter.
keybindings.json locations:
- macOS:
~/Library/Application Support/Code/User/keybindings.json - Linux:
~/.config/Code/User/keybindings.json - Windows:
%APPDATA%\\Code\\User\\keybindings.json
keybindings.json:
Windows Terminal
Add tosettings.json (CTRL+SHIFT+, or Settings → Open JSON file) to forward the modified Enter keys Atomic uses:
SHIFT+Enterinserts a new line.- Windows Terminal binds
ALT+Enterto fullscreen by default. That prevents Atomic from receivingALT+Enterfor follow-up queueing. - Remapping
ALT+EntertosendInputforwards the real key chord to Atomic instead.
actions array, add the objects to it. If the old fullscreen behavior persists, fully close and reopen Windows Terminal.
xfce4-terminal, terminator
These terminals have limited escape sequence support. Modified Enter keys likeCTRL+Enter and SHIFT+Enter cannot be distinguished from plain Enter, preventing custom keybindings such as submit: ["ctrl+enter"] from working.
For the best experience, use a terminal that supports the Kitty keyboard protocol:
IntelliJ IDEA (Integrated Terminal)
The built-in terminal has limited escape sequence support. SHIFT+Enter cannot be distinguished from Enter in IntelliJ’s terminal. If you want the hardware cursor visible, setATOMIC_HARDWARE_CURSOR=1 before running Atomic. The legacy PI_HARDWARE_CURSOR=1 alias also works; the hardware cursor is disabled by default for compatibility.
Consider using a dedicated terminal emulator for the best experience.