mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-10 12:28:25 +00:00
The rendering we're trying to implement based on `toolchain/docs/diagnostics_rendering.md` needs some features the initial terminal API didn't support: - Heavy stroke weight on lines - Vertical lines that cross earlier lines without joining them - Wrapping that keeps quoted code whole This PR adds support for these and removes the two `buffer.h` TODOs that described them. This PR also tries to improve the ASCII fallback quality a bit by using `^`-lines for "heavy" weight, and using `.` and `'` when drawing tees. Still not perfect of course, but seems reasonable given the constraints of ASCII rendering. Assisted-by: Claude Code