public class Console extends ConsoleReader
EOL_CR, EOL_CRLF, EOL_LF, KEYMAP_CODES, KEYMAP_NAMES
ADD, BACKSPACE, CHANGE_CASE, CHANGE_META, CLEAR_LINE, CLEAR_SCREEN, COMPLETE, CR, CTRL_A, CTRL_B, CTRL_C, CTRL_D, CTRL_E, CTRL_F, CTRL_K, CTRL_L, CTRL_N, CTRL_OB, CTRL_P, CTRL_QM, DELETE, DELETE_META, DELETE_NEXT_CHAR, DELETE_PREV_CHAR, DELETE_PREV_WORD, END_OF_HISTORY, END_WORD, EXIT, INSERT, INTERRUPT, KEYBOARD_BELL, KILL_LINE, KILL_LINE_PREV, MOVE_TO_BEG, MOVE_TO_END, NEWLINE, NEXT_CHAR, NEXT_HISTORY, NEXT_SPACE_WORD, NEXT_WORD, PASTE, PASTE_NEXT, PASTE_PREV, PREV_CHAR, PREV_HISTORY, PREV_SPACE_WORD, PREV_WORD, REDISPLAY, REPEAT_NEXT_CHAR, REPEAT_PREV_CHAR, REPEAT_SEARCH_NEXT, REPEAT_SEARCH_PREV, REPLACE_CHAR, REPLACE_MODE, RESET_LINE, SEARCH_NEXT, SEARCH_PREV, START_OF_HISTORY, SUBSTITUTE_CHAR, SUBSTITUTE_LINE, TO_END_WORD, TO_NEXT_CHAR, TO_PREV_CHAR, UNDO, UNKNOWN
Constructor and Description |
---|
Console(InputStream in,
OutputStream out,
InputStream bindings,
Terminal terminal,
CommandFactory<ShellCommand> commandFactory) |
Modifier and Type | Method and Description |
---|---|
void |
init(VirtualProcess process) |
addCompletor, addTriggeredAction, backspace, beep, clearScreen, debug, delete, drawLine, flushConsole, getAutoprintThreshhold, getBellEnabled, getCompletionHandler, getCompletors, getCursorBuffer, getDefaultPrompt, getEchoCharacter, getEol, getEOLString, getHistory, getInput, getKeyBindingsMap, getKeyForAction, getOutput, getTermheight, getTerminal, getTermwidth, getUseHistory, getUsePagination, killLine, moveCursor, paste, printCharacter, printCharacters, printColumns, printException, printNewline, printString, printStringNewline, putChar, putString, readBinding, readByte, readBytes, readCharacter, readLine, readLine, readLine, readLine, readVirtualKey, redrawLine, removeCompletor, replace, setAutoprintThreshhold, setBellEnabled, setCompletionHandler, setCursorPosition, setDebug, setDefaultPrompt, setEchoCharacter, setEOL, setHistory, setInput, setKeyBindings, setUseHistory, setUsePagination, writeByte, writeBytes
public Console(InputStream in, OutputStream out, InputStream bindings, Terminal terminal, CommandFactory<ShellCommand> commandFactory) throws IOException
IOException
public void init(VirtualProcess process)
Copyright © 2023. All rights reserved.