public static enum LineReader.Option extends Enum<LineReader.Option>
Enum Constant and Description |
---|
AUTO_FRESH_LINE
if set and not at start of line before prompt, move to new line
|
AUTO_LIST |
AUTO_MENU |
AUTO_PARAM_SLASH |
AUTO_REMOVE_SLASH |
CASE_INSENSITIVE |
COMPLETE_IN_WORD |
DELAY_LINE_WRAP
After writing into the rightmost column, do we immediately
move to the next line (the default)? Or do we wait until
the next character.
|
DISABLE_EVENT_EXPANSION |
GLOB_COMPLETE |
GROUP |
HISTORY_BEEP |
HISTORY_IGNORE_DUPS |
HISTORY_IGNORE_SPACE |
HISTORY_INCREMENTAL |
HISTORY_REDUCE_BLANKS |
HISTORY_VERIFY |
INSERT_TAB |
LIST_AMBIGUOUS |
LIST_PACKED |
LIST_ROWS_FIRST |
MENU_COMPLETE |
MOUSE |
RECOGNIZE_EXACT |
Modifier and Type | Method and Description |
---|---|
boolean |
isDef() |
static LineReader.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineReader.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineReader.Option COMPLETE_IN_WORD
public static final LineReader.Option DISABLE_EVENT_EXPANSION
public static final LineReader.Option HISTORY_VERIFY
public static final LineReader.Option HISTORY_IGNORE_SPACE
public static final LineReader.Option HISTORY_IGNORE_DUPS
public static final LineReader.Option HISTORY_REDUCE_BLANKS
public static final LineReader.Option HISTORY_BEEP
public static final LineReader.Option HISTORY_INCREMENTAL
public static final LineReader.Option AUTO_MENU
public static final LineReader.Option AUTO_LIST
public static final LineReader.Option RECOGNIZE_EXACT
public static final LineReader.Option GROUP
public static final LineReader.Option CASE_INSENSITIVE
public static final LineReader.Option LIST_AMBIGUOUS
public static final LineReader.Option LIST_PACKED
public static final LineReader.Option LIST_ROWS_FIRST
public static final LineReader.Option GLOB_COMPLETE
public static final LineReader.Option MENU_COMPLETE
public static final LineReader.Option AUTO_FRESH_LINE
public static final LineReader.Option DELAY_LINE_WRAP
N*columns
wide will
use N
screen lines; otherwise it will use N+1
lines.
When the cursor position is the right margin of the last line
(i.e. after N*columns
normal characters), if this option
it set, the cursor will be remain on the last line (line N-1
,
zero-origin); if unset the cursor will be on the empty next line.
Regardless, for all except the last screen line if the cursor is at
the right margin, it will be shown at the start of the next line.public static final LineReader.Option AUTO_PARAM_SLASH
public static final LineReader.Option AUTO_REMOVE_SLASH
public static final LineReader.Option INSERT_TAB
public static final LineReader.Option MOUSE
public static LineReader.Option[] values()
for (LineReader.Option c : LineReader.Option.values()) System.out.println(c);
public static LineReader.Option valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isDef()
Copyright © 2017. All rights reserved.