|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjline.TerminalSupport
jline.UnixTerminal
jline.NoInterruptUnixTerminal
public class NoInterruptUnixTerminal
Non-interruptable (via CTRL-C) UnixTerminal
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class jline.UnixTerminal |
---|
UnixTerminal.UnixKey |
Nested classes/interfaces inherited from class jline.TerminalSupport |
---|
TerminalSupport.RestoreHook |
Field Summary |
---|
Fields inherited from class jline.TerminalSupport |
---|
DEFAULT_HEIGHT, DEFAULT_KEYBINDINGS_PROPERTIES, DEFAULT_WIDTH |
Constructor Summary | |
---|---|
NoInterruptUnixTerminal()
|
Method Summary | |
---|---|
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. |
Methods inherited from class jline.UnixTerminal |
---|
getHeight, getSettings, getWidth, readVirtualKey, setEchoEnabled |
Methods inherited from class jline.TerminalSupport |
---|
getDefaultBindings, installShutdownHook, isAnsiSupported, isEchoEnabled, isSupported, readCharacter, removeShutdownHook, reset, setAnsiSupported |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoInterruptUnixTerminal() throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |