Package org.aesh.terminal.utils
Class Curses
java.lang.Object
org.aesh.terminal.utils.Curses
Curses helper methods.
- Author:
- Guillaume Nodet
-
Method Summary
Modifier and TypeMethodDescriptionstatic voiddoTputs(Appendable out, String str, Object... params) Print the given terminal capabilitiesstatic voidtputs(Appendable out, String str, Object... params) Print the given terminal capabilities without throwing checked exceptions.
-
Method Details
-
tputs
Print the given terminal capabilities without throwing checked exceptions. This is a convenience wrapper arounddoTputs(Appendable, String, Object...)that converts IOExceptions to IOErrors.- Parameters:
out- the output streamstr- the capability to outputparams- optional parameters
-
doTputs
Print the given terminal capabilities- Parameters:
out- the output streamstr- the capability to outputparams- optional parameters- Throws:
IOException- if an error occurs
-