[PR #15105] Use new row primitives for ResizeTraditional #30428

Closed
opened 2026-01-31 09:40:46 +00:00 by claunia · 0 comments
Owner

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

State: closed
Merged: Yes


This will allow us to share the same fundamental text insertion
logic for both ResizeTraditional and Reflow, because both
can be implemented with ROW::CopyRangeFrom. It also replaces
the BufferAllocator struct with a _allocateBuffer function
which will help us allocate scratch buffer rows in the future.

Closes #14696

PR Checklist

  • Disable reflow resize in conhost
  • Print "zhwik8.txt" - a enwik8.txt equivalent of Chinese Wikipedia
  • Run color 80 in cmd
  • Resize windows from 120 to 119 columns
  • Wide glyphs disappear and are replaced with whitespace ✅
  • Resizing the window to >120 columns adds gray whitespace ✅
**Original Pull Request:** https://github.com/microsoft/terminal/pull/15105 **State:** closed **Merged:** Yes --- This will allow us to share the same fundamental text insertion logic for both `ResizeTraditional` and `Reflow`, because both can be implemented with `ROW::CopyRangeFrom`. It also replaces the `BufferAllocator` struct with a `_allocateBuffer` function which will help us allocate scratch buffer rows in the future. Closes #14696 ## PR Checklist * Disable reflow resize in conhost * Print "zhwik8.txt" - a enwik8.txt equivalent of Chinese Wikipedia * Run `color 80` in cmd * Resize windows from 120 to 119 columns * Wide glyphs disappear and are replaced with whitespace ✅ * Resizing the window to >120 columns adds gray whitespace ✅
claunia added the pull-request label 2026-01-31 09:40:46 +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#30428