Table of Contents

Property DirtyLines

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

DirtyLines

Gets a value for each row indicating whether that row contains any dirty cells and should be rendered. Used by IOutput to skip rows with no pending changes, avoiding unnecessary cursor moves.

bool[] DirtyLines { get; }

Property Value

bool[]

Remarks

Output implementations clear each row's flag after emitting its dirty cells. Buffer implementations must set the corresponding row flag whenever a cell is marked dirty. Code that modifies Contents directly is responsible for updating the corresponding row flag.