Package org.jline.builtins
Class ScreenTerminal
java.lang.Object
org.jline.builtins.ScreenTerminal
Screen terminal implementation.
This class is copied from Apache Karaf WebConsole Gogo plugin
and slightly adapted to support alternate screen / resizing / 256 colors.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ScreenTerminal
public ScreenTerminal() -
ScreenTerminal
public ScreenTerminal(int width, int height)
-
-
Method Details
-
isDirty
public boolean isDirty() -
waitDirty
- Throws:
InterruptedException
-
setDirty
protected void setDirty() -
setSize
public boolean setSize(int w, int h) -
read
-
pipe
-
write
-
dump
public void dump(long[] fullscreen, int ftop, int fleft, int fheight, int fwidth, int[] cursor) -
dump
- Throws:
InterruptedException
-
toString
-