ScreenMode enum
Controls how the TUI renders relative to the terminal's primary screen.
ScreenMode.fullScreen takes over the entire terminal via the alternate screen buffer. ScreenMode.inline and ScreenMode.inlineAuto preserve scrollback and render the UI within a region anchored to the top or bottom of the visible viewport.
Values
- fullScreen → const ScreenMode
-
Full-screen alternate-screen mode. Restores previous terminal content on exit.
- inline → const ScreenMode
-
Inline mode with a fixed UI height in rows. Scrollback is preserved above or below the UI region.
- inlineAuto → const ScreenMode
-
Inline mode reserved for content-aware height selection.
This currently behaves the same as ScreenMode.inline and uses ProgramOptions.inlineHeight until automatic sizing lands.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ScreenMode> - A constant List of the values in this enum, in order of their declaration.