Artifact bd2e4aeacc8f68fa23e3b77a213595d0c8ea2c57f3055d2cb5fbf2cd01eff025:
- File
src/tui/highlight.c
-
2026-11-19 23:12:08
— part of check-in
[f84ad487f5]
on branch highlight
— TUI: a syntax highlighter for code blocks
src/tui/highlight.c colours fenced code with ANSI SGR using Pi's token classes and its dark and light theme colours: C and C++, shell, Python, JavaScript and TypeScript, JSON, Go, Rust, diff, Markdown, YAML and SQL, with a generic fallback. Linear, safe on arbitrary bytes (a random input test under ASan), every styled span closed before each newline so lines wrap on their own. Not wired into the renderer yet. (user: dmestas, size: 20307) [annotate] [blame] [check-ins using]
- 2026-11-20 02:48:53 — part of check-in [157b7d7187] on branch trunk — CI green on 5dbfd58fbab4 (user: dmestas, size: 20307) [annotate] [blame] [check-ins using]
- 2026-11-20 11:36:34 — part of check-in [06c5df2a07] on branch tui-round-3 — Merge trunk into tui-round-3: vendored libfossil a88df0d; Fil-C build lists keep bash.c and the Gemini files (user: dmestas, size: 20307) [annotate] [blame] [check-ins using]
- 2026-11-20 11:49:28 — part of check-in [29a145230c] on branch tui-atfile — Merge tui-round-3: build lists keep bash.c, highlight and the new files (user: dmestas, size: 20307) [annotate] [blame] [check-ins using]
-
2026-11-19 23:12:08
— part of check-in
[f84ad487f5]
on branch highlight
— TUI: a syntax highlighter for code blocks