Class WindowsTerminalInput

    • Constructor Detail

      • WindowsTerminalInput

        public WindowsTerminalInput()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • read

        public void read​(TerminalInputListener listener)
        Description copied from interface: TerminalInput
        Reads the next character or control keys from this terminal. Blocks until an event is available.
      • supportsRawMode

        public boolean supportsRawMode()
        Description copied from interface: TerminalInput
        Returns true if this terminal supports setting raw mode.
      • rawMode

        public TerminalInput rawMode()
                              throws NativeException
        Description copied from interface: TerminalInput
        Switches this terminal to raw mode. Keys are delivered as they are typed, are not echoed and are not processed.
        Throws:
        NativeException - On failure, or when raw mode is not supported by this terminal.
      • reset

        public TerminalInput reset()
        Description copied from interface: TerminalInput
        Resets this terminal to its default mode.