enum
RemiLib::Console::Direction
Overview
Used to tell #cursor the direction to move the cursor.
Defined in:
remilib/console/ansi.crEnum Members
-
Up =
0 -
Move the cursor up one line.
-
Down =
1 -
Move the cursor down one line.
-
Forward =
2 -
Move the cursor forward one cell.
-
Backward =
3 -
Move the cursor back one cell.
-
NextLine =
4 -
Move the cursor one line down, and to the first column.
-
PrevLine =
5 -
Move the cursor one line up, and to the first column.
-
ToColumn =
6 -
Move the cursor to a specific column.
Instance Method Summary
-
#backward?
Returns
trueif this enum value equalsBackward -
#down?
Returns
trueif this enum value equalsDown -
#forward?
Returns
trueif this enum value equalsForward -
#next_line?
Returns
trueif this enum value equalsNextLine -
#prev_line?
Returns
trueif this enum value equalsPrevLine -
#to_column?
Returns
trueif this enum value equalsToColumn -
#up?
Returns
trueif this enum value equalsUp
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