Class NoInterruptUnixTerminal
java.lang.Object
jline.TerminalSupport
jline.UnixTerminal
jline.NoInterruptUnixTerminal
Non-interruptible (via CTRL-C)
UnixTerminal.- Since:
- 2.0
-
Field Summary
FieldsFields inherited from class TerminalSupport
DEFAULT_HEIGHT, DEFAULT_WIDTH -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class UnixTerminal
disableInterruptCharacter, disableLitteralNextCharacter, enableInterruptCharacter, enableLitteralNextCharacter, getBooleanCapability, getHeight, getNumericCapability, getSettings, getStringCapability, getWidth, hasWeirdWrap, setEchoEnabledMethods inherited from class TerminalSupport
getOutputEncoding, isAnsiSupported, isEchoEnabled, isSupported, reset, setAnsiSupported, wrapInIfNeeded, wrapOutIfNeededMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Terminal
getOutputEncoding, isAnsiSupported, isEchoEnabled, isSupported, reset, wrapInIfNeeded, wrapOutIfNeeded
-
Field Details
-
intr
-
-
Constructor Details
-
NoInterruptUnixTerminal
-
-
Method Details
-
init
Description copied from class:UnixTerminalRemove line-buffered input by invoking "stty -icanon min 1" against the current terminal.- Specified by:
initin interfaceTerminal- Overrides:
initin classUnixTerminal- Throws:
Exception
-
restore
Description copied from class:UnixTerminalRestore the original terminal configuration, which can be used when shutting down the console reader. The ConsoleReader cannot be used after calling this method.- Specified by:
restorein interfaceTerminal- Overrides:
restorein classUnixTerminal- Throws:
Exception
-