Files
ghostty/src/config
Alessandro De Blasis 909e733120 windows: handle backslash paths in config value parsing
CommaSplitter treats backslash as an escape character, which breaks
Windows paths like C:\Users\foo since \U is not a valid escape. On
Windows, treat backslash as a literal character outside of quoted
strings. Inside quotes, escape sequences still work as before.

The platform behavior is controlled by a single comptime constant
(escape_outside_quotes) so the logic lives in one place. Escape-specific
tests are skipped on Windows with SkipZigTest, and Windows-specific
tests are added separately.

Also fix Theme.parseCLI to not mistake the colon in a Windows drive
letter (C:\...) for a light/dark theme pair separator.

Note: other places in the config parsing also use colon as a delimiter
without accounting for Windows drive letters (command.zig prefix
parsing, keybind parsing). Those are tracked separately.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 19:30:14 +01:00
..
2026-02-19 20:45:52 -08:00
2025-11-27 13:37:53 -08:00
2025-11-27 13:37:53 -08:00
2023-09-11 09:17:29 -07:00
2026-03-23 09:17:34 -07:00
2026-03-03 19:53:15 -08:00
2025-12-26 00:27:08 +07:00
2026-03-16 09:19:09 +11:00
2023-09-23 22:46:16 -07:00