Class Ansi
java.lang.Object
org.jdrupes.builder.core.console.Ansi
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic StringClear the current line.static Stringcolor(Ansi.Color color) Sets a color.static StringcursorDown(int lines) Cursor down.static StringCursor to start of line.static StringcursorUp(int lines) Cursor up.static StringHide cursor.static StringReset attributes.static StringShow the cursor.
-
Method Details
-
cursorToSol
-
cursorUp
-
cursorDown
Cursor down.- Parameters:
lines- the lines- Returns:
- the string
-
clearLine
-
hideCursor
-
showCursor
-
color
Sets a color.- Parameters:
color- the color- Returns:
- the string
-
resetAttributes
-