Skip to content

refactor(tui): keep markdown stream settling beside native render - #1457

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-10645-tui-adopt-native-markdown-texttable-retire-markdown-parser
Oct 16, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-10645-tui-adopt-native-markdown-texttable-retire-markdown-parser

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • The unused fenced-code painter and the parse memoizer are gone. Transcript fences already paint through native markdown.
  • Stream settling stays: incomplete headings still wait, and settled blocks still split off the live tail.
  • parseMarkdown stays for the cases native markdown still paints differently, including an empty link and a narrow table.

Verification

  • bun run check passes (9112 tests, 0 fail)
  • bun test ./src/tui/markdown-rows.test.ts ./src/tui/markdown-parser.test.ts ./src/tui/syntax-highlight.test.ts --randomize --seed 424242 passes (109 tests)

Part of CL-10645

Drop the unused fenced-code painter and parse memoizer. Native
MarkdownRenderable already paints fences. Keep parseMarkdown for the
empty-link and narrow-table cases native still paints differently.
@linear-code

linear-code Bot commented Oct 16, 2026

Copy link
Copy Markdown

CL-10645

@corbits-triage

corbits-triage Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Triage: Pass

No changes needed from you. A maintainer will review this pull request.

@TheGreatAxios
TheGreatAxios merged commit 8489e15 into main Oct 16, 2026
13 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-10645-tui-adopt-native-markdown-texttable-retire-markdown-parser branch October 16, 2026 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant