[PR #13530] AtlasEngine: Improve robustness against TextBuffer bugs #29613

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

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

State: closed
Merged: Yes


The current TextBuffer implementation will happily overwrite the
leading/trailing half of a wide glyph with a narrow one without
padding the other half with whitespace. This could crash AtlasEngine
which aggressively guarded against such inconsistencies.

Closes #13522

Validation Steps Performed

  • Run .bat file linked in #13522
    (Override wide glyph with a single space.)
  • AtlasEngine doesn't crash
**Original Pull Request:** https://github.com/microsoft/terminal/pull/13530 **State:** closed **Merged:** Yes --- The current TextBuffer implementation will happily overwrite the leading/trailing half of a wide glyph with a narrow one without padding the other half with whitespace. This could crash AtlasEngine which aggressively guarded against such inconsistencies. Closes #13522 ## Validation Steps Performed * Run .bat file linked in #13522 (Override wide glyph with a single space.) * `AtlasEngine` doesn't crash ✅
claunia added the pull-request label 2026-01-31 09:35:54 +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#29613