Package org.jline.utils
Class Status.MovingCursorDisplay
java.lang.Object
org.jline.utils.Display
org.jline.utils.Status.MovingCursorDisplay
- Enclosing class:
Status
-
Field Summary
FieldsFields inherited from class org.jline.utils.Display
canScroll, columns, columns1, cost, cursorDownIsNewLine, cursorPos, delayedWrapAtEol, delayLineWrap, fullScreen, oldLines, reset, rows, terminal, wrapAtEol
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
protected int
moveVisualCursorTo
(int i1) protected void
moveVisualCursorTo
(int targetPos, List<AttributedString> newLines) void
update
(List<AttributedString> newLines, int targetCursorPos, boolean flush) Update the display according to the new lines.Methods inherited from class org.jline.utils.Display
can, clear, delayLineWrap, deleteChars, deleteLines, insertChars, insertLines, perform, rawPrint, rawPrint, rawPrint, reset, resize, setDelayLineWrap, update, updateAnsi, wcwidth
-
Field Details
-
firstLine
protected int firstLine
-
-
Constructor Details
-
MovingCursorDisplay
-
-
Method Details
-
update
Description copied from class:Display
Update the display according to the new lines. -
moveVisualCursorTo
- Overrides:
moveVisualCursorTo
in classDisplay
-
moveVisualCursorTo
protected int moveVisualCursorTo(int i1) - Overrides:
moveVisualCursorTo
in classDisplay
-
initCursor
void initCursor()
-