render method
Render the panel and its contents. This should be called from within Layer.render.
Implementation
void render(Terminal terminal) {
// render a background
var bc = Char.create(
CharCode.space, terminal.foreground, background ?? terminal.background);
for (var point in bounds.getPoints()) {
terminal.drawChar(point.x, point.y, bc);
}
// render the panel contents
renderContent(terminal.childRect(contentBounds));
}