Scale box-drawing characters vertically to fill line height

Box-drawing characters (│┃║┌┐└┘├┤etc) are designed to connect between
lines but the font's em-box is smaller than our line-height (14px vs
16.8px), creating visible gaps.

Solution: Render box-drawing characters as separate text elements with
a vertical scale transform of 1.2 (matching line-height) to stretch
them to fill the full cell height and connect properly.

This fixes disconnected vertical lines and corners in TUI applications.
This commit is contained in:
GitHub Copilot
2026-01-24 20:11:46 +00:00
parent 3701a3df31
commit ba23994c68
4 changed files with 50 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB