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.
|
java.io.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
|
java.io.PrintStream |
out()
Returns the
PrintStream associated with the std out |
void |
setCursor(CursorPosition position)
Set cursor position
|
void clear()
throws java.io.IOException
java.io.IOExceptionjava.io.PrintStream out()
PrintStream associated with the std outjava.io.PrintStream 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()
java.io.IOExceptionvoid enableMainBuffer()
java.io.IOException