Support Shift+Enter multi-line input in foot terminal
Resolved 💬 3 comments Opened Apr 8, 2026 by paradoja Closed Apr 12, 2026
Summary
/terminal-setup does not recognize foot as a supported terminal for the Shift+Enter multi-line shortcut. However, foot already sends a distinct escape sequence for Shift+Enter: \e[27;2;13~ (modifyOtherKeys encoding: modifier 2 = Shift, key 13 = Enter).
Current behavior
Running /terminal-setup inside foot (via tmux or directly) does not list foot as a supported terminal. The message says:
iTerm2, WezTerm, Ghostty, Kitty, and Warp support Shift+Enter natively.
foot is not mentioned, even though it sends a unique sequence for Shift+Enter.
Expected behavior
Claude Code should recognize foot's \e[27;2;13~ Shift+Enter sequence and allow multi-line input, the same way it does for other terminals that send distinct Shift+Enter sequences.
Environment
- Terminal: foot 1.21.0
- Platform: Linux (Arch, sway)
- Shell: fish
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗