Artifact bf0844d42ef46d145c9995e90426ae7d666b699fedf78b2874310d1176a66eab:
- File
test/tui/test_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: 7949) [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: 7949) [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: 7949) [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: 7949) [annotate] [blame] [check-ins using]
- 2026-11-20 11:58:40 — part of check-in [d2e7414b11] on branch tui-highlight — TUI: syntax-highlight fenced code blocks in replies with Pi's syntax colours; unknown languages stay plain (user: dmestas, size: 7949) [annotate] [blame] [check-ins using]
- 2026-11-20 14:56:54 — part of check-in [eb0b13724a] on branch hooks — Merge trunk into hooks: hooks in the parallel suite, export_pi head/tail split, schema chain to v11, /fork and /clone end hooks (user: dmestas, size: 7949) [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