Package org.fusesource.jansi
package org.fusesource.jansi
-
ClassDescriptionProvides a fluent API for generating ANSI escape sequences.Display attributes, also know as SGR (Select Graphic Rendition) parameters.ANSI 8 colors for fluent APIED (Erase in Display) / EL (Erase in Line) parameter (see CSI sequence J and K)Provides consistent access to an ANSI aware console PrintStream or an ANSI codes stripping PrintStream if not on a terminal (see Jansi native CLibrary isatty(int)).Type of output installed by AnsiConsole.Main class for the library, providing executable jar to diagnose Jansi setup.A ANSI output stream extracts ANSI escape codes written to an output stream and calls corresponding
process*
methods.A ANSI print stream extracts ANSI escape codes written to a print stream and calls correspondingprocess*
methods.Renders ANSI color escape-codes in strings by parsing out some special syntax to pick up the correct fluff to use.Print writer which supports automatic ANSI color rendering viaAnsiRenderer
.An ANSI string which reports the size of rendered text correctly (ignoring any ANSI escapes).A PrintStream filtering to another PrintStream, without making any assumption about encoding.Deprecated.A Windows ANSI escape processor, that uses JNA to access native platform API's to change the console attributes (see Jansi native Kernel32).
WindowsAnsiPrintStream
, which does not suffer from encoding issues