Package jline
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 jline.TerminalSupport
DEFAULT_HEIGHT, DEFAULT_WIDTH
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jline.UnixTerminal
disableInterruptCharacter, disableLitteralNextCharacter, enableInterruptCharacter, enableLitteralNextCharacter, getBooleanCapability, getHeight, getNumericCapability, getSettings, getStringCapability, getWidth, hasWeirdWrap, setEchoEnabled
Methods inherited from class jline.TerminalSupport
getOutputEncoding, isAnsiSupported, isEchoEnabled, isSupported, reset, setAnsiSupported, wrapInIfNeeded, wrapOutIfNeeded
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jline.Terminal
getOutputEncoding, isAnsiSupported, isEchoEnabled, isSupported, reset, wrapInIfNeeded, wrapOutIfNeeded
-
Field Details
-
intr
-
-
Constructor Details
-
NoInterruptUnixTerminal
- Throws:
Exception
-
-
Method Details
-
init
Description copied from class:UnixTerminal
Remove line-buffered input by invoking "stty -icanon min 1" against the current terminal.- Specified by:
init
in interfaceTerminal
- Overrides:
init
in classUnixTerminal
- Throws:
Exception
-
restore
Description copied from class:UnixTerminal
Restore 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:
restore
in interfaceTerminal
- Overrides:
restore
in classUnixTerminal
- Throws:
Exception
-