[PR #13587] AtlasEngine: Implement remaining grid lines #29643

Open
opened 2026-01-31 09:36:05 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/13587

State: closed
Merged: Yes


This commit implements the remaining 5 of 8 grid lines:
left/top/right/bottom (COMMON_LVB) borders and double underline

AtlasEngine::_resolveFontMetrics was partially refactored to use floats
instead of doubles, because that's what the remaining code uses as well.
It also helps the new, slightly more complex double underline calculation.

Validation Steps Performed

  • Print characters with the COMMON_LVB_GRID_HORIZONTAL, GRID_LVERTICAL,
    GRID_RVERTICAL and UNDERSCORE attributes via WriteConsoleOutputW
  • All 4 grid lines are visible ✅
  • Grid lines correctly scale according to the lineWidth ✅
  • Print a double underline with printf "\033[21mtest\033[0m"
  • A double underline is fully visible ✅
**Original Pull Request:** https://github.com/microsoft/terminal/pull/13587 **State:** closed **Merged:** Yes --- This commit implements the remaining 5 of 8 grid lines: left/top/right/bottom (COMMON_LVB) borders and double underline `AtlasEngine::_resolveFontMetrics` was partially refactored to use `float`s instead of `double`s, because that's what the remaining code uses as well. It also helps the new, slightly more complex double underline calculation. ## Validation Steps Performed * Print characters with the `COMMON_LVB_GRID_HORIZONTAL`, `GRID_LVERTICAL`, `GRID_RVERTICAL` and `UNDERSCORE` attributes via `WriteConsoleOutputW` * All 4 grid lines are visible ✅ * Grid lines correctly scale according to the `lineWidth` ✅ * Print a double underline with `printf "\033[21mtest\033[0m"` * A double underline is fully visible ✅
claunia added the pull-request label 2026-01-31 09:36:06 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#29643