- flush
Forces flushing the cursor buffer to the console's output stream.
- println
Prints the line text to the console and starts a new line, flushing the cursor
buffer.
- <init>
Creates a Console that reads from and writes to the provided streams.
- disableAnsi
Disables ANSI terminal color support, regardless of the auto-detection performed
by #isAnsiSupported
- checkAnsiSupported
- isAnsiSupported
Returns whether writing ANSI escape sequences are supported by the console. true
will only be return
- print
Writes the given char sequence to the cursor buffer, does not flush the buffer.
- checkOS
- enableAnsi
Enables ANSI terminal color support, regardless of the auto-detection performed
by #isAnsiSupported(
- setForceAnsi
Flag to force enable ANSI terminal color support, used for windows consoles