Class TerminalInfo
java.lang.Object
org.jdrupes.builder.core.console.TerminalInfo
Provides information about the terminal. This class relies on variables
LINES and COLUMNS to be environment variables (exported).-
Constructor Details
-
TerminalInfo
public TerminalInfo()Initializes a new terminal info.
-
-
Method Details
-
supportsAnsi
Returns whether the terminal supports ANSI.- Returns:
- true, if successful
-
lines
-
columns
-