Chandler Carruth
fda41783e5
Extend and adjust the terminal API for the diagnostics rendering ( #7993 )
...
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
2026-10-30 07:25:03 +00:00
..
2026-10-30 07:25:03 +00:00
2024-01-05 23:01:47 +00:00
2026-07-15 00:47:47 +00:00
2026-07-15 00:47:47 +00:00
2026-01-01 22:20:40 +00:00
2026-10-27 21:05:53 +00:00
2025-05-12 23:46:02 +00:00
2025-05-12 23:46:02 +00:00
2025-05-12 19:01:01 +00:00
2025-05-12 23:46:02 +00:00
2025-05-12 23:46:02 +00:00
2026-07-13 22:29:39 +00:00
2026-07-13 22:29:39 +00:00
2025-05-28 22:48:20 +00:00
2025-05-30 16:20:43 +00:00
2026-10-15 15:30:08 +00:00
2025-05-28 22:48:20 +00:00
2026-01-20 23:07:30 +00:00
2026-01-20 23:07:30 +00:00
2025-05-16 01:39:19 +00:00
2025-06-10 13:37:16 +00:00
2025-06-10 13:37:16 +00:00
2025-09-12 22:59:37 +00:00
2025-02-14 17:54:39 +00:00
2025-11-14 13:50:56 +00:00
2025-09-12 22:59:37 +00:00
2025-09-12 22:59:37 +00:00
2026-01-21 17:41:46 +00:00
2025-08-25 16:28:11 +00:00
2025-09-10 13:47:59 +00:00
2025-06-12 16:05:11 +00:00
2025-06-12 16:05:11 +00:00
2025-10-13 18:49:48 +00:00
2026-10-02 00:15:21 +00:00
2026-08-19 21:54:46 +00:00
2026-08-19 21:54:46 +00:00
2026-08-19 21:54:46 +00:00
2025-04-18 14:17:48 +00:00
2026-09-11 00:22:27 +00:00
2025-06-10 23:21:17 +00:00
2025-06-10 23:21:17 +00:00
2026-10-06 15:13:10 +00:00
2026-10-06 15:13:10 +00:00
2026-10-06 15:13:10 +00:00
2026-08-26 00:41:51 +00:00
2026-10-06 15:13:10 +00:00
2026-10-06 15:13:10 +00:00
2026-10-06 15:13:10 +00:00
2026-10-14 14:12:56 +00:00
2024-10-13 17:47:57 +00:00
2024-01-05 23:01:47 +00:00
2025-11-15 02:00:41 +00:00
2025-11-15 02:00:41 +00:00
2025-11-15 02:00:41 +00:00
2026-10-02 00:15:21 +00:00
2026-09-18 20:19:46 +00:00
2026-09-18 20:19:46 +00:00
2025-05-07 22:20:39 +00:00
2026-08-19 01:00:13 +00:00
2026-08-19 01:00:13 +00:00
2026-10-27 21:05:53 +00:00
2026-10-27 21:05:53 +00:00
2025-06-26 20:28:21 +00:00
2026-10-06 15:13:10 +00:00
2026-10-06 15:13:10 +00:00
2026-10-02 00:15:21 +00:00
2024-06-08 01:50:02 +00:00
2025-11-15 03:37:13 +00:00
2026-10-06 15:13:10 +00:00
2026-10-06 15:13:10 +00:00
2026-10-06 15:13:10 +00:00
2025-01-18 01:11:44 +00:00
2026-09-10 19:12:00 +00:00
2026-10-02 00:15:21 +00:00
2026-09-18 20:19:46 +00:00
2026-10-26 06:38:17 +00:00
2026-01-07 02:53:31 +00:00
2026-01-07 02:53:31 +00:00
2026-01-07 02:53:31 +00:00
2026-09-10 21:26:37 +00:00
2026-09-10 21:26:37 +00:00
2025-10-29 16:52:46 +00:00
2025-10-29 16:52:46 +00:00
2025-09-10 13:47:59 +00:00
2024-06-18 00:33:05 +00:00
2024-06-18 00:33:05 +00:00
2024-06-18 00:33:05 +00:00
2025-04-17 15:37:57 +00:00
2024-09-16 22:55:55 +00:00