terminal-setup writes invalid TOML escape sequence in Alacritty config
Resolved 💬 3 comments Opened Feb 10, 2026 by rdewaele Closed Feb 14, 2026
Description
The /terminal-setup command writes an invalid TOML escape sequence to the Alacritty config file (~/.config/alacritty/alacritty.toml).
It produces:
[[keyboard.bindings]]
key = "Return"
mods = "Shift"
chars = "\x1b\r"
\x is not a valid TOML escape sequence, which causes Alacritty to fail to parse the config file.
Expected behavior
The generated config should use TOML-compatible Unicode escapes:
chars = "\^[\r"
Steps to reproduce
- Have an existing valid
~/.config/alacritty/alacritty.toml - Run
/terminal-setupin Claude Code - Alacritty fails to reload config with a parse error at the
charsline
Environment
- Claude Code CLI
- Alacritty terminal
- Linux (Arch)
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗