This repository has no description
Something went wrong. Try again.
terminal: handle CRLF line endings in rgb.txt parsing master
The X11 color map parser in x11_color.zig uses @embedFile to load rgb.txt at comptime, then splits on \n. On Windows, git may check out rgb.txt with CRLF line endings, leaving a trailing \r on each line. This caused color names to be stored as e.g. "white\r" instead of "white", so all X11 color lookups failed at runtime. Strip trailing \r from each line before parsing. Also mark rgb.txt as -text in .gitattributes to prevent line ending conversion in future checkouts.
Author Mitchell Hashimoto Date (Mar 23, 2026, 5:15 PM UTC) Commit e95fdd2f e95fdd2f21bda187c3a521417243d7280110f6a1 Parent d568ce9c d568ce9cc838d97a5e323054e72f19e47c6cc0a9 Change ID zulqwwyk zulqwwyktzwovkqwxswmupzpstpkvmln