Enum Class Attributes.LocalFlag

java.lang.Object
java.lang.Enum<Attributes.LocalFlag>
org.jline.terminal.Attributes.LocalFlag
All Implemented Interfaces:
Serializable, Comparable<Attributes.LocalFlag>, Constable
Enclosing class:
Attributes

public static enum Attributes.LocalFlag extends Enum<Attributes.LocalFlag>
Local flags that control various terminal behaviors.

Local flags control a variety of terminal behaviors that don't fit into the other flag categories. These include echo control, canonical mode, signal generation, and special character processing.

Common local flags include:

  • ECHO - Echo input characters
  • ICANON - Enable canonical mode (line-by-line input)
  • ISIG - Enable signal generation (INTR, QUIT, SUSP)
  • IEXTEN - Enable extended input processing
  • ECHOCTL - Echo control characters as ^X

Note: Some flags in this category begin with the letter "I" and might appear to belong in the input flags category, but they are historically part of the local flags.

Local flags can be accessed and modified using methods like Attributes.getLocalFlag(LocalFlag), Attributes.setLocalFlag(LocalFlag, boolean), and Attributes.setLocalFlags(EnumSet).

See Also: