Benjamin Carlsson
78b1dda5f6
Render typed prompts as Markdown in the TUI ( #59983 )
...
## Why
Typed prompts currently display Markdown syntax literally, including emphasis, lists, and code fences.
## What changed
- Render Markdown in typed prompts while retaining the prompt gutter, background, and hyperlinks.
- Preserve literal rendering for spoken prompts, prompts with inline text elements, and text without visible Markdown formatting.
- Keep the original Markdown when copying a whole prompt, and preserve source text for code block and blockquote copy targets.
- Preserve bold styling when leaving the dim prompt marker and track hyperlink columns incrementally across styled spans.
## Testing
Add regression coverage for prompt rendering at multiple widths, hyperlink positions, terminal bold styling, and copying Markdown source, code blocks, and blockquotes, including original code line endings and fenced tables with table rendering disabled.
GitOrigin-RevId: eda62043ca8a9fe012ea7e0683fe05de6ad1b898
2026-11-06 21:21:15 +00:00
..
2026-11-05 11:22:06 +00:00
2026-10-29 17:25:51 +00:00
2026-11-03 15:02:57 +00:00
2026-11-03 12:33:26 +00:00
2026-11-05 16:08:23 +00:00
2026-11-05 22:03:29 +00:00
2026-11-06 19:29:06 +00:00
2026-11-06 07:43:44 +00:00
2026-11-03 04:20:50 +00:00
2026-11-06 19:29:06 +00:00
2026-11-02 16:00:20 +00:00
2026-11-04 21:33:28 +00:00
2026-11-02 17:05:56 +00:00
2026-10-26 20:26:32 +00:00
2026-11-04 00:19:12 +00:00
2026-10-22 19:36:47 +00:00
2026-11-05 05:09:32 +00:00
2026-11-05 22:03:29 +00:00
2026-11-05 22:18:49 +00:00
2026-11-06 05:26:52 +00:00
2026-11-05 04:25:19 +00:00
2026-11-05 05:09:32 +00:00
2026-11-05 05:09:32 +00:00
2026-11-06 01:49:33 +00:00
2026-11-06 01:49:33 +00:00
2026-11-05 07:13:37 +00:00
2026-10-29 01:04:48 +00:00
2026-11-06 02:42:02 +00:00
2026-10-19 21:43:19 +00:00
2026-11-05 22:03:29 +00:00
2026-11-06 00:21:16 +00:00
2026-10-30 20:39:47 +00:00
2026-10-29 18:24:34 +00:00
2026-11-06 20:36:32 +00:00
2026-11-05 22:49:46 +00:00
2026-10-19 15:15:17 +00:00
2026-11-06 00:23:38 +00:00
2026-10-27 05:52:01 +00:00
2026-11-03 23:49:01 +00:00
2026-11-03 04:08:59 +00:00
2026-11-06 07:43:44 +00:00
2026-11-06 02:21:14 +00:00
2026-11-05 04:25:19 +00:00
2026-10-27 23:53:09 +00:00
2026-11-05 00:55:46 +00:00
2026-11-06 18:43:32 +00:00
2026-11-06 07:43:44 +00:00
2026-11-06 20:29:09 +00:00
2026-10-22 19:36:47 +00:00
2026-11-05 17:34:20 +00:00
2026-11-06 00:37:27 +00:00
2026-11-04 09:51:28 +00:00
2026-11-06 12:49:54 +00:00
2026-11-06 19:29:06 +00:00
2026-10-26 19:21:08 +00:00
2026-11-06 04:24:04 +00:00
2026-10-22 19:36:47 +00:00
2026-11-05 20:56:09 +00:00
2026-11-06 04:33:14 +00:00
2026-11-04 22:43:34 +00:00
2026-10-22 19:36:47 +00:00
2026-11-05 18:12:28 +00:00
2026-11-02 20:34:35 +00:00
2026-10-22 19:36:47 +00:00
2026-11-06 04:33:14 +00:00
2026-11-06 04:24:04 +00:00
2026-11-03 15:02:57 +00:00
2026-11-03 23:00:54 +00:00
2026-11-06 19:18:02 +00:00
2026-11-06 00:24:03 +00:00
2026-10-27 16:36:32 +00:00
2026-11-03 01:58:18 +00:00
2026-11-06 19:29:06 +00:00
2026-11-03 21:02:34 +00:00
2026-10-19 16:56:42 +00:00
2026-11-05 22:03:29 +00:00
2026-11-06 20:16:15 +00:00
2026-11-06 01:20:54 +00:00
2026-11-06 04:33:14 +00:00
2026-11-06 02:21:14 +00:00
2026-10-27 05:52:01 +00:00
2026-11-04 23:46:52 +00:00
2026-10-27 05:52:01 +00:00
2026-11-06 17:47:31 +00:00
2026-11-06 19:29:06 +00:00
2026-10-22 00:19:02 +00:00
2026-10-30 07:11:56 +00:00
2026-11-05 13:38:12 +00:00
2026-11-06 19:29:06 +00:00
2026-10-30 20:53:25 +00:00
2026-11-06 21:21:15 +00:00
2026-11-06 21:03:03 +00:00
2026-10-30 16:35:54 +00:00
2026-11-04 09:51:28 +00:00
2026-10-27 05:52:01 +00:00
2026-11-03 15:02:57 +00:00
2026-11-05 21:33:57 +00:00
2026-11-05 21:33:57 +00:00
2026-11-04 00:52:58 +00:00
2026-10-28 21:09:05 +00:00
2026-11-06 19:29:06 +00:00
2026-11-06 18:57:58 +00:00
2026-11-05 11:22:06 +00:00
2026-10-27 05:52:01 +00:00