mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #696] [MERGED] fix(markdown): rebuild table when streaming ends #1503
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#1503
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/696
Author: @mocksoul
Created: 2/16/2026
Status: ✅ Merged
Merged: 2/17/2026
Merged by: @kommander
Base:
main← Head:fix/streaming-table-rebuild📝 Commits (4)
e22c07cfix(markdown): rebuild table when streaming endseaa22fetest(markdown): add regression test for table finalization after streamingb275a93fix(markdown): rebuild table on streaming mode transitionsf7ca70cfix(markdown): rebuild tables on streaming mode changes📊 Changes
2 files changed (+71 additions, -3 deletions)
View changed files
📝
packages/core/src/renderables/Markdown.ts(+3 -3)📝
packages/core/src/renderables/__tests__/Markdown.test.ts(+68 -0)📄 Description
Summary
updateBlocks()skips table rebuild when token raw hasn't changed, but the table renderable was created with N-1 rows during streaming (rows.slice(0, -1))clearCache()instead ofupdateBlocks()onstreaming: true→falsetransition to force full rebuild🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.