Package org.jline.terminal.impl.jna
Class JnaSupportImpl
- java.lang.Object
-
- org.jline.terminal.impl.jna.JnaSupportImpl
-
- All Implemented Interfaces:
JnaSupport
public class JnaSupportImpl extends java.lang.Object implements JnaSupport
-
-
Constructor Summary
Constructors Constructor Description JnaSupportImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pty
current()
boolean
isConsoleOutput(boolean pty)
boolean
isWindowsConsole()
Pty
open(Attributes attributes, Size size)
Terminal
winSysTerminal(java.lang.String name, java.lang.String type, boolean ansiPassThrough, java.nio.charset.Charset encoding, int codepage, boolean nativeSignals, Terminal.SignalHandler signalHandler)
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)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jline.terminal.spi.JnaSupport
isConsoleOutput
-
-
-
-
Method Detail
-
current
public Pty current() throws java.io.IOException
- Specified by:
current
in interfaceJnaSupport
- Throws:
java.io.IOException
-
open
public Pty open(Attributes attributes, Size size) throws java.io.IOException
- Specified by:
open
in interfaceJnaSupport
- 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 interfaceJnaSupport
- 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 interfaceJnaSupport
- Throws:
java.io.IOException
-
isWindowsConsole
public boolean isWindowsConsole()
- Specified by:
isWindowsConsole
in interfaceJnaSupport
-
isConsoleOutput
public boolean isConsoleOutput(boolean pty)
- Specified by:
isConsoleOutput
in interfaceJnaSupport
-
-