ConsoleReader, Terminal, UnixTerminal, UnsupportedTerminal, WindowsTerminalpublic interface ConsoleOperations
KeyEvent| Modifier and Type | Field | Description |
|---|---|---|
static short |
ABORT |
Operation that aborts the current command (like searching)
|
static short |
ADD |
Operation that
|
static char |
BACKSPACE |
|
static short |
CHANGE_CASE |
Operation that toggles between uppercase and lowercase.
|
static short |
CHANGE_META |
Operation that
|
static short |
CLEAR_LINE |
Operation that clears whatever text is on the current line.
|
static short |
CLEAR_SCREEN |
Operation that clears the screen.
|
static short |
COMPLETE |
Operation that performs completion operation on the current word.
|
static java.lang.String |
CR |
|
static char |
CTRL_A |
|
static char |
CTRL_B |
|
static char |
CTRL_C |
|
static char |
CTRL_D |
|
static char |
CTRL_E |
|
static char |
CTRL_F |
|
static char |
CTRL_G |
|
static char |
CTRL_K |
|
static char |
CTRL_L |
|
static char |
CTRL_N |
|
static char |
CTRL_OB |
|
static char |
CTRL_P |
|
static char |
CTRL_QM |
|
static char |
DELETE |
|
static short |
DELETE_META |
Operation that
|
static short |
DELETE_NEXT_CHAR |
Operation that deletes the previous character.
|
static short |
DELETE_PREV_CHAR |
Operation that
|
static short |
DELETE_PREV_WORD |
Operation that deletes the previous word in the buffer.
|
static short |
END_OF_HISTORY |
Operation that moves the current History to the end.
|
static short |
END_WORD |
Operation that
|
static short |
EXIT |
Operation that exits the command prompt.
|
static short |
INSERT |
Operation that toggles insert/overtype
|
static char |
KEYBOARD_BELL |
|
static short |
KILL_LINE |
Operation that deletes the buffer from the current character to the end.
|
static short |
KILL_LINE_PREV |
Operation that deletes the buffer from the cursor to the beginning.
|
static short |
MOVE_TO_BEG |
Operation that moves to the beginning of the buffer.
|
static short |
MOVE_TO_END |
Operation that moves to the end of the buffer.
|
static short |
NEWLINE |
Operation that issues a newline.
|
static short |
NEXT_CHAR |
Operation that moves to the next character in the buffer.
|
static short |
NEXT_HISTORY |
Operation that sets the buffer to the next history item.
|
static short |
NEXT_SPACE_WORD |
Operation that
|
static short |
NEXT_WORD |
Operation that moved to the next word.
|
static short |
PASTE |
Operation that pastes the contents of the clipboard into the line
|
static short |
PASTE_NEXT |
Operation that
|
static short |
PASTE_PREV |
Operation that
|
static short |
PREV_CHAR |
Operation that moved to the previous character in the buffer.
|
static short |
PREV_HISTORY |
Operation that sets the buffer to the previous history item.
|
static short |
PREV_SPACE_WORD |
Operation that moved to the previous whitespace.
|
static short |
PREV_WORD |
Operation that
|
static short |
REDISPLAY |
Operation that redisplays the current buffer.
|
static short |
REPEAT_NEXT_CHAR |
Operation that repeats the character.
|
static short |
REPEAT_PREV_CHAR |
Operation that moves to the previous character in the buffer.
|
static short |
REPEAT_SEARCH_NEXT |
Operation that
|
static short |
REPEAT_SEARCH_PREV |
Operation that
|
static short |
REPLACE_CHAR |
Operation that
|
static short |
REPLACE_MODE |
Operation that
|
static char |
RESET_LINE |
|
static short |
SEARCH_NEXT |
Operation that searches forward in the command history.
|
static short |
SEARCH_PREV |
Operation that searches backwards in the command history.
|
static short |
START_OF_HISTORY |
Operation that moves the current History to the beginning.
|
static short |
SUBSTITUTE_CHAR |
Operation that
|
static short |
SUBSTITUTE_LINE |
Operation that
|
static short |
TO_END_WORD |
Operation that moved to the end of the current word.
|
static short |
TO_NEXT_CHAR |
Operation that
|
static short |
TO_PREV_CHAR |
Operation that
|
static short |
UNDO |
Operation that undoes the previous operation.
|
static short |
UNKNOWN |
Unknown operation.
|
static final java.lang.String CR
static final char BACKSPACE
static final char RESET_LINE
static final char KEYBOARD_BELL
static final char CTRL_A
static final char CTRL_B
static final char CTRL_C
static final char CTRL_D
static final char CTRL_E
static final char CTRL_F
static final char CTRL_G
static final char CTRL_K
static final char CTRL_L
static final char CTRL_N
static final char CTRL_P
static final char CTRL_OB
static final char DELETE
static final char CTRL_QM
static final short UNKNOWN
static final short MOVE_TO_BEG
static final short MOVE_TO_END
static final short PREV_CHAR
static final short NEWLINE
static final short KILL_LINE
static final short CLEAR_SCREEN
static final short NEXT_HISTORY
static final short PREV_HISTORY
static final short REDISPLAY
static final short KILL_LINE_PREV
static final short DELETE_PREV_WORD
static final short NEXT_CHAR
static final short REPEAT_PREV_CHAR
static final short SEARCH_PREV
static final short REPEAT_NEXT_CHAR
static final short SEARCH_NEXT
static final short PREV_SPACE_WORD
static final short TO_END_WORD
static final short REPEAT_SEARCH_PREV
static final short PASTE_PREV
static final short REPLACE_MODE
static final short SUBSTITUTE_LINE
static final short TO_PREV_CHAR
static final short NEXT_SPACE_WORD
static final short DELETE_PREV_CHAR
static final short ADD
static final short PREV_WORD
static final short CHANGE_META
static final short DELETE_META
static final short END_WORD
static final short INSERT
static final short REPEAT_SEARCH_NEXT
static final short PASTE_NEXT
static final short REPLACE_CHAR
static final short SUBSTITUTE_CHAR
static final short TO_NEXT_CHAR
static final short UNDO
static final short NEXT_WORD
static final short DELETE_NEXT_CHAR
static final short CHANGE_CASE
static final short COMPLETE
static final short EXIT
static final short PASTE
static final short START_OF_HISTORY
static final short END_OF_HISTORY
static final short CLEAR_LINE
static final short ABORT