feat: powerline and block character rendering with visual tests#128
Open
slang25 wants to merge 3 commits intocoder:mainfrom
Open
feat: powerline and block character rendering with visual tests#128slang25 wants to merge 3 commits intocoder:mainfrom
slang25 wants to merge 3 commits intocoder:mainfrom
Conversation
- Implement renderBlockChar() for U+2580-U+259F block elements as pixel-perfect rectangles - Implement renderPowerlineGlyph() for U+E0B0-U+E0BF glyphs as vector shapes - Update font metrics to use fontBoundingBox for accurate cell height - Add buildFontString() helper for proper font family quoting - Add cursor style support from buffer and cursorAccent color rendering - Add 15 visual regression tests covering text, colors, cursors, wide chars, and special glyphs - Include headless Puppeteer test runner for CI/CD integration - Add baseline PNG images for all tests passing Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 47fdaa020e
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
- Exit non-zero on startup failures in render test runner (P1) - Wait for browser-side runAllTests() completion before reading canvases (P2) - Use || instead of ?? for font metric fallbacks so 0 triggers fallback (P2) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fix prettier formatting for render-test.html and correct import order in render-test.ts to satisfy biome lint rules. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
Port of powerline and block character rendering from fork, with a complete visual regression test suite.
All visual tests pass and baseline images are included for regression testing.