Class Curses

java.lang.Object
org.jline.utils.Curses

public final class Curses extends Object
Curses helper methods.
  • Field Details

  • Constructor Details

    • Curses

      private Curses()
  • Method Details

    • tputs

      public static String tputs(String cap, Object... params)
      Print the given terminal capabilities
      Parameters:
      cap - the capability to output
      params - optional parameters
      Returns:
      the result string
    • tputs

      public static void tputs(Appendable out, String str, Object... params)
      Print the given terminal capabilities
      Parameters:
      out - the output stream
      str - the capability to output
      params - optional parameters
    • doTputs

      private static void doTputs(Appendable out, String str, Object... params) throws IOException
      Throws:
      IOException
    • toInteger

      private static int toInteger(Object pop)