Package org.aesh.readline
Enum ReadlineFlag
- All Implemented Interfaces:
Serializable,Comparable<ReadlineFlag>,java.lang.constant.Constable
Enumeration of flags that control readline behavior.
- Author:
- Ståle W. Pedersen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIgnore EOF signal a given number of timesDo not discard lines starting with '#'Do not automatically enable Mode 2027 (grapheme cluster segmentation) for terminals that support itDo not activate multi-line mode 0 = Disable for both single and double quote 1 = Disable for double quote 2 = Disable for single quoteDo not redraw prompt on INTR signal Default behaviour is to redraw .Do not emit OSC 133 shell integration sequences.Do not automatically use Mode 2026 (synchronized output) for terminals that support it -
Method Summary
Modifier and TypeMethodDescriptionstatic ReadlineFlagReturns the enum constant of this type with the specified name.static ReadlineFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NO_PROMPT_REDRAW_ON_INTR
Do not redraw prompt on INTR signal Default behaviour is to redraw . -
IGNORE_EOF
Ignore EOF signal a given number of times -
NO_MULTI_LINE_ON_QUOTE
Do not activate multi-line mode- 0 = Disable for both single and double quote
- 1 = Disable for double quote
- 2 = Disable for single quote
-
NO_COMMENT_DISCARD
Do not discard lines starting with '#' -
NO_GRAPHEME_CLUSTER_MODE
Do not automatically enable Mode 2027 (grapheme cluster segmentation) for terminals that support it -
NO_SYNCHRONIZED_OUTPUT
Do not automatically use Mode 2026 (synchronized output) for terminals that support it -
NO_SHELL_INTEGRATION
Do not emit OSC 133 shell integration sequences.When set, Readline will not emit OSC 133 prompt start (A), prompt end (B), or command start (C) markers.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-