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
IOExceptionPrintStream 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()
IOExceptionvoid enableMainBuffer()
IOExceptionCopyright © 2022 JBoss by Red Hat. All rights reserved.