FullScreenTuiRenderer class
Full-screen renderer using the alternate screen buffer.
Renders the first frame in full, then diffs subsequent frames line by line and rewrites only the changed span of each changed line (see lineSpanEdit), inside synchronized-update guards. Cells outside a changed span are never erased or repainted, so terminal graphics overlaid on stable regions (e.g. a sixel image beside a text column) survive text updates on the same rows. Best for fullscreen applications that own the entire terminal.
- Implemented types
Constructors
- FullScreenTuiRenderer({required TuiTerminal terminal, TuiRendererOptions options = const TuiRendererOptions()})
-
Creates a fullscreen renderer targeting the given
terminal.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- metrics → RenderMetrics?
-
Returns render performance metrics, or null if not supported.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- terminal → TuiTerminal
-
The terminal to render to.
final
Methods
-
clear(
) → void -
Clears the rendered content.
override
-
dispose(
) → void -
Disposes of renderer resources.
override
-
flush(
) → Future< void> -
Flushes any buffered output.
override
-
initialize(
) → void -
Initializes the renderer.
override
-
invalidate(
) → void -
Resets internal diff / cache state so the next render call produces
a full redraw, without performing any terminal I/O.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
Object view) → void -
Renders the view to the terminal.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited