[PR #8446] ROW: clean up in preparation to hide CharRow & AttrRow #27200

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

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

State: closed
Merged: Yes


Moving things out of CharRow into ROW helps us hide it as an implementation detail.
This is part one of many.

CharRow: Hide ClearCell, use ROW::ClearColumn

CharRow: Hide GetText, use ROW::GetText

CharRowBaseTests: remove dead file (never used!)

CharRow: Move DoubleBytePadded into ROW

CharRow: Move WrapForced into ROW

Char/AttrRow: Hide Reset, use ROW::Reset

Remove RowCellIterator (dead code)

RCI was unused; it was replaced by TextBufferCellIterator shortly after its creation

Move AttrRowTests to ut_textbuffer from ut_host

It had no reliance on the host.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/8446 **State:** closed **Merged:** Yes --- Moving things out of CharRow into ROW helps us hide it as an implementation detail. This is part one of many. ### CharRow: Hide ClearCell, use ROW::ClearColumn ### CharRow: Hide GetText, use ROW::GetText ### CharRowBaseTests: remove dead file (never used!) ### CharRow: Move DoubleBytePadded into ROW ### CharRow: Move WrapForced into ROW ### Char/AttrRow: Hide Reset, use ROW::Reset ### Remove RowCellIterator (dead code) RCI was unused; it was replaced by TextBufferCellIterator shortly after its creation ### Move AttrRowTests to ut_textbuffer from ut_host It had no reliance on the host.
claunia added the pull-request label 2026-01-31 09:20:37 +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#27200