Enum Class Terminal.Signal

java.lang.Object
java.lang.Enum<Terminal.Signal>
org.jline.terminal.Terminal.Signal
All Implemented Interfaces:
Serializable, Comparable<Terminal.Signal>, Constable
Enclosing interface:
Terminal

public static enum Terminal.Signal extends Enum<Terminal.Signal>
Types of signals that can be handled by terminal applications.

Signals represent asynchronous notifications that can be sent to the application in response to certain events or user actions. Each signal type corresponds to a specific event or key combination:

  • INT - Interrupt signal (typically Ctrl+C)
  • QUIT - Quit signal (typically Ctrl+\)
  • TSTP - Terminal stop signal (typically Ctrl+Z)
  • CONT - Continue signal (sent when resuming after TSTP)
  • INFO - Information signal (typically Ctrl+T on BSD systems)
  • WINCH - Window change signal (sent when terminal size changes)

Note that signal handling behavior may vary across different platforms and terminal implementations. Some signals may not be available or may behave differently on certain systems.

See Also: