- java.lang.Object
-
- org.jline.terminal.impl.jna.JnaSupportImpl
-
- All Implemented Interfaces:
JnaSupport
public class JnaSupportImpl extends Object implements JnaSupport
-
-
Constructor Summary
Constructors Constructor Description JnaSupportImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Ptycurrent()booleanisConsoleInput()booleanisConsoleOutput()booleanisWindowsConsole()Ptyopen(Attributes attributes, Size size)TerminalwinSysTerminal(String name, String type, boolean ansiPassThrough, Charset encoding, int codepage, boolean nativeSignals, Terminal.SignalHandler signalHandler)TerminalwinSysTerminal(String name, String type, boolean ansiPassThrough, Charset encoding, int codepage, boolean nativeSignals, Terminal.SignalHandler signalHandler, boolean paused)
-
-
-
Method Detail
-
current
public Pty current() throws IOException
- Specified by:
currentin interfaceJnaSupport- Throws:
IOException
-
open
public Pty open(Attributes attributes, Size size) throws IOException
- Specified by:
openin interfaceJnaSupport- Throws:
IOException
-
winSysTerminal
public Terminal winSysTerminal(String name, String type, boolean ansiPassThrough, Charset encoding, int codepage, boolean nativeSignals, Terminal.SignalHandler signalHandler) throws IOException
- Specified by:
winSysTerminalin interfaceJnaSupport- Throws:
IOException
-
winSysTerminal
public Terminal winSysTerminal(String name, String type, boolean ansiPassThrough, Charset encoding, int codepage, boolean nativeSignals, Terminal.SignalHandler signalHandler, boolean paused) throws IOException
- Specified by:
winSysTerminalin interfaceJnaSupport- Throws:
IOException
-
isWindowsConsole
public boolean isWindowsConsole()
- Specified by:
isWindowsConsolein interfaceJnaSupport
-
isConsoleOutput
public boolean isConsoleOutput()
- Specified by:
isConsoleOutputin interfaceJnaSupport
-
isConsoleInput
public boolean isConsoleInput()
- Specified by:
isConsoleInputin interfaceJnaSupport
-
-