Package org.jline.terminal.spi
Interface JnaSupport
-
- All Known Implementing Classes:
JnaSupportImpl
public interface JnaSupport
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Ptycurrent()booleanisConsoleInput()booleanisConsoleOutput()booleanisWindowsConsole()Ptyopen(Attributes attributes, Size size)TerminalwinSysTerminal(java.lang.String name, java.lang.String type, boolean ansiPassThrough, java.nio.charset.Charset encoding, int codepage, boolean nativeSignals, Terminal.SignalHandler signalHandler)TerminalwinSysTerminal(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
boolean isConsoleOutput()
-
isConsoleInput
boolean isConsoleInput()
-
-