Package org.jline.terminal
Interface Terminal.SignalHandler
- All Known Implementing Classes:
NativeSignalHandler
- Enclosing interface:
Terminal
public static interface Terminal.SignalHandler
The SignalHandler defines the interface used to trap signals and perform specific behaviors.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Terminal.SignalHandler
TheSIG_DFL
value can be used to specify that the JVM default behavior should be used to handle this signal.static final Terminal.SignalHandler
TheSIG_IGN
value can be used to ignore this signal and not perform any special processing. -
Method Summary
-
Field Details
-
SIG_DFL
TheSIG_DFL
value can be used to specify that the JVM default behavior should be used to handle this signal. -
SIG_IGN
TheSIG_IGN
value can be used to ignore this signal and not perform any special processing.
-
-
Method Details
-
handle
Handle the signal.- Parameters:
signal
- the signal
-