magnitude
rows (CUU).console :: TermMoveUp :: defaultinit
console $ TermMoveUp :: SELF
Type of this instance, automatically specialized in every classcore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
console :: TermEscape :: defaultinit
console :: TermMoveUp :: defaultinit
core :: Object :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
console :: TermDirectionalMove :: magnitude=
The length of the move.core :: Object :: output_class_name
Display class name on stdout (debug only).console :: TermDirectionalMove
Abstract class of the ANSI/VT100 escape sequences for directional moves.
# ANSI/VT100 code to move the cursor up by `magnitude` rows (CUU).
class TermMoveUp
super TermDirectionalMove
# Move by the specified number of cells.
init by(magnitude: Int) do self.magnitude = magnitude
redef fun code do return "A"
end
lib/console/console.nit:47,1--55,3