mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-24 20:45:56 +03:00
[PR #695] [CLOSED] fix(markdown): only skip incomplete rows in streaming tables #720
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#720
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/695
Author: @remorses
Created: 2/16/2026
Status: ❌ Closed
Base:
main← Head:fix/markdown-streaming-table-rows📝 Commits (1)
dc28c0dfix(markdown): only skip incomplete rows in streaming tables📊 Changes
2 files changed (+49 additions, -5 deletions)
View changed files
📝
packages/core/src/renderables/Markdown.ts(+21 -5)📝
packages/core/src/renderables/__tests__/Markdown.test.ts(+28 -0)📄 Description
Split from #597 to make review easier.
Previously the last table row was always skipped during streaming, even when complete. Now checks if
table.raw.endsWith("\n")— if yes, the row is complete and shown. ExtractsgetTableRowsToRender()andgetTableRenderableRowCount()helpers.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.