enum
RemiLib::Console::EraseDisplay
Overview
Changes how #eraseScreen behaves.
Defined in:
remilib/console/ansi.crEnum Members
-
CursorToEnd =
0 -
Erases the screen from the cursor to the bottom of the screen.
-
CursorToStart =
1 -
Erases the screen from the cursor to the top of the screen.
-
WholeScreen =
2 -
Erases the entire visible screen.
-
ScreenAndScrollback =
3 -
Erases the entire visible screen, plus any visible lines in the scrollback.
Instance Method Summary
-
#cursor_to_end?
Returns
trueif this enum value equalsCursorToEnd -
#cursor_to_start?
Returns
trueif this enum value equalsCursorToStart -
#screen_and_scrollback?
Returns
trueif this enum value equalsScreenAndScrollback -
#whole_screen?
Returns
trueif this enum value equalsWholeScreen
Instance methods inherited from struct Enum
toRsconf(builder : RemiLib::RSConf::Builder)
toRsconf
Constructor methods inherited from struct Enum
new(val : RemiLib::RSConf::RSValue)
new
Instance methods inherited from class Object
toRsconf(io : IO, *, indentSize : Int = 2, alwaysQuoteKeys : Bool = false, explicitRootObject : Bool = false, commaAfterValues : Bool = false, extraNewlineBetweenToplevelKeys : Bool = false) : NiltoRsconf(*, indentSize : Int = 2, alwaysQuoteKeys : Bool = false, explicitRootObject : Bool = false, commaAfterValues : Bool = false, extraNewlineBetweenToplevelKeys : Bool = false) : String toRsconf
Class methods inherited from class Object
fromRsconf(toplevel : RemiLib::RSConf::RSValue)fromRsconf(data : String | IO | Path) fromRsconf