Package org.jline.terminal.spi
Interface JnaSupport
-
- All Known Implementing Classes:
JnaSupportImpl
public interface JnaSupport
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Pty
current()
default boolean
isConsoleOutput()
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)
-
-
-
Method Detail
-
current
Pty current() throws java.io.IOException
- Throws:
java.io.IOException
-
open
Pty open(Attributes attributes, Size size) throws java.io.IOException
- Throws:
java.io.IOException
-
winSysTerminal
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
- Throws:
java.io.IOException
-
winSysTerminal
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
- Throws:
java.io.IOException
-
isWindowsConsole
boolean isWindowsConsole()
-
isConsoleOutput
default boolean isConsoleOutput()
-
isConsoleOutput
boolean isConsoleOutput(boolean pty)
-
-