Skip to content

Condenser bar: stop its glyphs overlapping - #27

Merged
Darknode-Official merged 1 commit into
mainfrom
fix/condenser-glyph-overlap
Nov 11, 2026
Merged

Darknode-Official merged 1 commit into
mainfrom
fix/condenser-glyph-overlap

Conversation

@Darknode-Official

Copy link
Copy Markdown
Owner

The condensing bar's jaws and core (▸ ◂ ◆) render wider than one cell in common terminal fonts and spill over the bar.

This uses box-drawing cells (┣━━╋━━┫), which terminals draw to fit one cell exactly, for both the live bar and the done marker. A new test checks that the bar only uses those characters.

Tests: HOME=/tmp/nxhome-full npm test.

The squeeze bar's jaws and core (triangles and a diamond) render wider than
one cell in common terminal fonts and spill over the bar. Use box-drawing
cells, which terminals draw to fit one cell exactly, for the live bar and
the done marker, and test that the bar only uses those.
@Darknode-Official
Darknode-Official merged commit fb11a4f into main Nov 11, 2026
6 checks passed
@Darknode-Official
Darknode-Official deleted the fix/condenser-glyph-overlap branch November 11, 2026 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant