public class NoInterruptUnixTerminal extends UnixTerminal
UnixTerminal.DEFAULT_HEIGHT, DEFAULT_WIDTH| Constructor | Description |
|---|---|
NoInterruptUnixTerminal() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
init() |
Remove line-buffered input by invoking "stty -icanon min 1"
against the current terminal.
|
void |
restore() |
Restore the original terminal configuration, which can be used when
shutting down the console reader.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOutputEncoding, isAnsiSupported, isEchoEnabled, isSupported, reset, wrapInIfNeeded, wrapOutIfNeededgetOutputEncoding, isAnsiSupported, isEchoEnabled, isSupported, reset, setAnsiSupported, wrapInIfNeeded, wrapOutIfNeededdisableInterruptCharacter, disableLitteralNextCharacter, enableInterruptCharacter, enableLitteralNextCharacter, getBooleanCapability, getHeight, getNumericCapability, getSettings, getStringCapability, getWidth, hasWeirdWrap, setEchoEnabledpublic NoInterruptUnixTerminal()
throws java.lang.Exception
java.lang.Exceptionpublic void init()
throws java.lang.Exception
UnixTerminalinit in interface Terminalinit in class UnixTerminaljava.lang.Exceptionpublic void restore()
throws java.lang.Exception
UnixTerminalrestore in interface Terminalrestore in class UnixTerminaljava.lang.Exception