public class NoInterruptUnixTerminal extends UnixTerminal
UnixTerminal
.DEFAULT_HEIGHT, DEFAULT_WIDTH
Constructor and Description |
---|
NoInterruptUnixTerminal() |
Modifier and Type | Method and 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.
|
disableInterruptCharacter, disableLitteralNextCharacter, enableInterruptCharacter, enableLitteralNextCharacter, getBooleanCapability, getHeight, getNumericCapability, getSettings, getStringCapability, getWidth, hasWeirdWrap, setEchoEnabled
getOutputEncoding, isAnsiSupported, isEchoEnabled, isSupported, reset, setAnsiSupported, wrapInIfNeeded, wrapOutIfNeeded
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOutputEncoding, isAnsiSupported, isEchoEnabled, isSupported, reset, wrapInIfNeeded, wrapOutIfNeeded
public NoInterruptUnixTerminal() throws java.lang.Exception
java.lang.Exception
public void init() throws java.lang.Exception
UnixTerminal
init
in interface Terminal
init
in class UnixTerminal
java.lang.Exception
public void restore() throws java.lang.Exception
UnixTerminal
restore
in interface Terminal
restore
in class UnixTerminal
java.lang.Exception
Copyright © 2018. All Rights Reserved.