Package org.jline.utils
Class Curses
java.lang.Object
org.jline.utils.Curses
Curses helper methods.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
doTputs
(Appendable out, String str, Object... params) private static int
static void
tputs
(Appendable out, String str, Object... params) Print the given terminal capabilitiesstatic String
Print the given terminal capabilities
-
Field Details
-
sv
-
dv
-
IFTE_NONE
private static final int IFTE_NONE- See Also:
-
IFTE_IF
private static final int IFTE_IF- See Also:
-
IFTE_THEN
private static final int IFTE_THEN- See Also:
-
IFTE_ELSE
private static final int IFTE_ELSE- See Also:
-
-
Constructor Details
-
Curses
private Curses()
-
-
Method Details
-
tputs
Print the given terminal capabilities- Parameters:
cap
- the capability to outputparams
- optional parameters- Returns:
- the result string
-
tputs
Print the given terminal capabilities- Parameters:
out
- the output streamstr
- the capability to outputparams
- optional parameters
-
doTputs
- Throws:
IOException
-
toInteger
-