[PR #16903] Remove dependency on IsGlyphFullWidth for IRM/DECSWL #31042

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

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

State: closed
Merged: Yes


This gets rid off the implicit dependency on IsGlyphFullWidth
for the IRM and DECSWL/DECDWL/DECDHL implementations.

Validation Steps Performed

In pwsh:

  • "`e[31mab`e[m`b`e[4h`e[32m$('*'*10)`e[m`e[4l"
    prints a red "a", 10 green "*" and a red "b"
  • "`e[31mab`e[m`b`e[4h`e[32m$('*'*1000)`e[m`e[4l"
    prints a red "a" and a couple lines of green "*"
  • "`e[31mf$('o'*70)`e[m`e#6`e#5"
    the right half of the row is erased
**Original Pull Request:** https://github.com/microsoft/terminal/pull/16903 **State:** closed **Merged:** Yes --- This gets rid off the implicit dependency on `IsGlyphFullWidth` for the IRM and DECSWL/DECDWL/DECDHL implementations. ## Validation Steps Performed In pwsh: * ``"`e[31mab`e[m`b`e[4h`e[32m$('*'*10)`e[m`e[4l"`` prints a red "a", 10 green "*" and a red "b" ✅ * ``"`e[31mab`e[m`b`e[4h`e[32m$('*'*1000)`e[m`e[4l"`` prints a red "a" and a couple lines of green "*" ✅ * ``"`e[31mf$('o'*70)`e[m`e#6`e#5"`` the right half of the row is erased ✅
claunia added the pull-request label 2026-01-31 09:44:44 +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#31042