Class JansiSupportImpl

  • All Implemented Interfaces:
    JansiSupport

    public class JansiSupportImpl
    extends java.lang.Object
    implements JansiSupport
    • Field Detail

      • JANSI_MAJOR_VERSION

        static final int JANSI_MAJOR_VERSION
      • JANSI_MINOR_VERSION

        static final int JANSI_MINOR_VERSION
    • Constructor Detail

      • JansiSupportImpl

        public JansiSupportImpl()
    • Method Detail

      • getJansiMajorVersion

        public static int getJansiMajorVersion()
      • getJansiMinorVersion

        public static int getJansiMinorVersion()
      • isAtLeast

        public static boolean isAtLeast​(int major,
                                        int minor)
      • current

        public Pty current()
                    throws java.io.IOException
        Specified by:
        current in interface JansiSupport
        Throws:
        java.io.IOException
      • open

        public Pty open​(Attributes attributes,
                        Size size)
                 throws java.io.IOException
        Specified by:
        open in interface JansiSupport
        Throws:
        java.io.IOException
      • winSysTerminal

        public Terminal winSysTerminal​(java.lang.String name,
                                       java.lang.String type,
                                       boolean ansiPassThrough,
                                       java.nio.charset.Charset encoding,
                                       int codepage,
                                       boolean nativeSignals,
                                       Terminal.SignalHandler signalHandler)
                                throws java.io.IOException
        Specified by:
        winSysTerminal in interface JansiSupport
        Throws:
        java.io.IOException
      • winSysTerminal

        public Terminal winSysTerminal​(java.lang.String name,
                                       java.lang.String type,
                                       boolean ansiPassThrough,
                                       java.nio.charset.Charset encoding,
                                       int codepage,
                                       boolean nativeSignals,
                                       Terminal.SignalHandler signalHandler,
                                       boolean paused)
                                throws java.io.IOException
        Specified by:
        winSysTerminal in interface JansiSupport
        Throws:
        java.io.IOException