ScrollbackBuffer

Undocumented in source.

Constructors

this
this(string name)
Undocumented in source.

Members

Functions

addComponent
void addComponent(string text, int foreground, int background, bool delegate() onclick)
Undocumented in source. Be warned that the author may not have intended to support it.
addLine
void addLine()
Undocumented in source. Be warned that the author may not have intended to support it.
addLine
void addLine(string line)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
color
void color(int foreground, int background)
Undocumented in source. Be warned that the author may not have intended to support it.
drawInto
void drawInto(Terminal* terminal, int x, int y, int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
handleEvent
bool handleEvent(InputEvent e)

Default event handling for this widget. Call this only after drawing it into a rectangle and only if the event ought to be dispatched to it (which you determine however you want; you could dispatch all events to it, or perhaps filter some out too)

scrollDown
void scrollDown(int lines)
Undocumented in source. Be warned that the author may not have intended to support it.
scrollUp
void scrollUp(int lines)
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(T t)
Undocumented in source. Be warned that the author may not have intended to support it.
writef
void writef(string fmt, T t)
Undocumented in source. Be warned that the author may not have intended to support it.
writefln
void writefln(string fmt, T t)
Undocumented in source. Be warned that the author may not have intended to support it.
writeln
void writeln(T t)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Line
struct Line
Undocumented in source.
LineComponent
struct LineComponent
background_
int background_;
Undocumented in source.

Variables

foreground_
int foreground_;
height
int height;
Undocumented in source.
lines
Line[] lines;
Undocumented in source.
name
string name;
Undocumented in source.
scrollbackPosition
int scrollbackPosition;
width
int width;
Undocumented in source.
x
int x;
y
int y;
Undocumented in source.

Meta