Class Command
java.lang.Object
com.diogonunes.jcolor.Command
Abstracts ANSI codes with intuitive names. It maps a command (e.g. CLEAR_SCREEN) with a code.
-
Method Details
-
CLEAR_SCREEN
Returns A Command that clears the terminal's text, equivalent to the command-line `clear`.- Returns:
- A Command that clears the terminal's text, equivalent to the command-line `clear`
-
toString
-