public interface Shell
Modifier and Type | Method and Description |
---|---|
void |
clear()
clears the screen
|
void |
enableAlternateBuffer()
If not alternate buffer is enabled this will enable it
|
void |
enableMainBuffer()
If not main buffer is enabled this will enable it.
|
PrintStream |
err()
Returns the
PrintStream associated with the std err |
CursorPosition |
getCursor() |
TerminalSize |
getSize() |
AeshStandardStream |
in()
Get the possible input stream
|
boolean |
isMainBuffer() |
void |
moveCursor(int rows,
int columns)
Move the cursor relative to the current position
Will not move outside of TerminalSize boundaries
|
PrintStream |
out()
Returns the
PrintStream associated with the std out |
void |
setCursor(CursorPosition position)
Set cursor position
|
void clear() throws IOException
IOException
PrintStream out()
PrintStream
associated with the std outPrintStream err()
PrintStream
associated with the std errAeshStandardStream in()
TerminalSize getSize()
CursorPosition getCursor()
void setCursor(CursorPosition position)
void moveCursor(int rows, int columns)
boolean isMainBuffer()
void enableAlternateBuffer()
IOException
void enableMainBuffer()
IOException
Copyright © 2019 JBoss, a division of Red Hat, Inc.. All Rights Reserved.