@Override public void reset() { myGraphicSetState.resetState(); myStyleState.reset(); myTerminalTextBuffer.clearAll(); myDisplay.setScrollingEnabled(true); initModes(); initMouseModes(); cursorPosition(1, 1); }
@Override public void useAlternateBuffer(boolean enabled) { myTerminalTextBuffer.useAlternateBuffer(enabled); myDisplay.setScrollingEnabled(!enabled); }