public List<String> render(final LineReader renderer, final int width) {
ArrayList<String> result = new ArrayList<String>();
while (renderer.hasLine()) {
final ScreenBuffer buffer = new ScreenBuffer();
renderer.renderLine(new RenderAppendable(new ScreenContext() {
public int getWidth() {
return width;
}
public int getHeight() {
return 40;