feat: markdown pipe tables in the repl TUI and GUI chat - #127
Merged
Conversation
TUI (first, per harness-first rule): renderMarkdown in repl.zig now detects | pipe tables and draws them with box-drawing characters, wrapping cell text to fit the terminal width (width_hint cached from the last rendered frame; 0 assumes 100 cols). GUI: table rendering extracted from MarkdownRenderer into a dedicated ChatTable component (alignment, header styling unchanged) with tests. Co-Authored-By: blackfloofie <265516171+blackfloofie@users.noreply.github.com>
justrach
force-pushed
the
feat/markdown-pipe-tables
branch
from
July 8, 2026 13:02
4905e56 to
66cd508
Compare
This was referenced Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Renders
|pipe tables in both chat surfaces (TUI first, per the harness-first rule):src/repl.zig):renderMarkdowndetects pipe tables and draws them with box-drawing characters, wrapping cell text to the terminal width (cached per frame; 0 assumes 100 cols).MarkdownRendererinto a dedicatedChatTablecomponent (alignment + header styling unchanged), with tests.zig build testgreen;bun test ChatTable4/4 green.