public abstract class AbstractTerminal extends Object implements Terminal, 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.
|
CursorPosition |
getCursor()
Return the row position if we use a ansi terminal
Send a terminal: '
|
Shell |
getShell() |
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
|
void |
setCursor(CursorPosition position)
Set cursor position
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeOutputStream, hasInput, init, isEchoEnabled, read, reset, writeToInputStreamprotected Settings settings
public CursorPosition getCursor()
public void setCursor(CursorPosition position)
Shellpublic void moveCursor(int rows,
int columns)
ShellmoveCursor in interface Shellpublic void clear()
Shellpublic boolean isMainBuffer()
isMainBuffer in interface Shellpublic void enableAlternateBuffer()
ShellenableAlternateBuffer in interface Shellpublic void enableMainBuffer()
ShellenableMainBuffer in interface Shellpublic AeshStandardStream in()
ShellCopyright © 2018 JBoss by Red Hat. All rights reserved.