TestOutputBuffer class
Methods
-
backgroundColorAt(int x, int y)
→ Color?
-
-
clear()
→ void
-
Fills the entire grid with empty cells.
override
-
clearAll()
→ void
-
Clears both the grid and the terminal, forcing a full redraw on next flush.
override
-
conditionalClear()
→ void
-
Clears using a full clear only when remnants are likely, otherwise uses a smart clear.
override
-
flush()
→ void
-
Renders only the changed cells to the terminal since the last flush.
override
-
foregroundColorAt(int x, int y)
→ Color?
-
-
needsFullClear()
→ bool
-
Returns
true if the previous frame had significantly more content than the current one.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
resize()
→ void
-
Rebuilds the internal grid to match the current terminal dimensions.
override
-
resizeStyleGrid()
→ void
-
-
smartClear()
→ void
-
Fills the grid with empty cells while preserving the previous frame for diffing.
override
-
styleAt(int x, int y)
→ TextStyle?
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
write(int x, int y, String char)
→ void
-
Writes a character at the given position with default styling.
override
-
writeStringStyled(int x, int y, String text, TextStyle? style)
→ void
-
-
writeStyled(int x, int y, String char, TextStyle? style)
→ void
-
Writes a character at the given position with the specified
style.
override