ClearScreen enum
Clears the terminal screen buffer.
Note that the cursor is not moved as a result of this command.
Constructors
- ClearScreen(EscapeSequence _sequence)
-
const
Values
- all → const ClearScreen
-
Clears the entire screen.
const ClearScreen(EscapeSequence.unchecked('J', parameters: [0], defaults: [0]))
- allAndScrollback → const ClearScreen
-
Clears the entire screen and the scrollback buffer.
const ClearScreen(EscapeSequence.unchecked('J', parameters: [3], defaults: [0]))
- fromCursorDown → const ClearScreen
-
Clears the screen from the cursor down.
const ClearScreen(EscapeSequence.unchecked('J', parameters: [1], defaults: [0]))
- fromCursorUp → const ClearScreen
-
Clears the screen from the cursor up.
const ClearScreen(EscapeSequence.unchecked('J', parameters: [2], defaults: [0]))
- currentLine → const ClearScreen
-
Clears the current line.
const ClearScreen(EscapeSequence.unchecked('K', parameters: [2], defaults: [0]))
- toEndOfLine → const ClearScreen
-
Clears the line from the cursor to the end of the line.
const ClearScreen(EscapeSequence.unchecked('K', parameters: [0], defaults: [0]))
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toSequence(
) → Sequence -
Returns the ANSI escape sequence for this command.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ClearScreen> - A constant List of the values in this enum, in order of their declaration.