Package org.jline.terminal
Enum Class Attributes.LocalFlag
- All Implemented Interfaces:
Serializable
,Comparable<Attributes.LocalFlag>
,Constable
- Enclosing class:
Attributes
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 charactersICANON
- Enable canonical mode (line-by-line input)ISIG
- Enable signal generation (INTR, QUIT, SUSP)IEXTEN
- Enable extended input processingECHOCTL
- 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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic Attributes.LocalFlag
Returns the enum constant of this class with the specified name.static Attributes.LocalFlag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ECHOKE
-
ECHOE
-
ECHOK
-
ECHO
-
ECHONL
-
ECHOPRT
-
ECHOCTL
-
ISIG
-
ICANON
-
ALTWERASE
-
IEXTEN
-
EXTPROC
-
TOSTOP
-
FLUSHO
-
NOKERNINFO
-
PENDIN
-
NOFLSH
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-