final TextScreenConsole console;
if (name == null) {
name = autoName();
}
if ((options & CreateOptions.SCROLLABLE) != 0) {
final ScrollableTextScreen screen;
screen = tsm.getSystemScreen().createCompatibleScrollableBufferScreen(SCROLLABLE_HEIGHT);
console = new ScrollableTextScreenConsole(this, name, screen, options);
} else {
final TextScreen screen;
screen = tsm.getSystemScreen().createCompatibleBufferScreen();