Class Curses

java.lang.Object
org.aesh.terminal.utils.Curses

public final class Curses extends Object
Curses helper methods.
Author:
Guillaume Nodet
  • Method Details

    • tputs

      public static void tputs(Appendable out, String str, Object... params)
      Print the given terminal capabilities without throwing checked exceptions. This is a convenience wrapper around doTputs(Appendable, String, Object...) that converts IOExceptions to IOErrors.
      Parameters:
      out - the output stream
      str - the capability to output
      params - optional parameters
    • doTputs

      public static void doTputs(Appendable out, String str, Object... params) throws IOException
      Print the given terminal capabilities
      Parameters:
      out - the output stream
      str - the capability to output
      params - optional parameters
      Throws:
      IOException - if an error occurs