screenAlignmentTest method

void screenAlignmentTest(
  1. CursorStyle style
)

Implementation

void screenAlignmentTest(CursorStyle style) {
  final viewportStart = scrollBack;
  final viewportEnd = viewportStart + viewHeight;
  resetVerticalMargins();
  resetHorizontalMargins();
  for (var row = viewportStart; row < viewportEnd; row++) {
    final line = lines[row];
    line.isWrapped = false;
    for (var column = 0; column < viewWidth; column++) {
      line.setCell(column, 0x45, 1, style);
    }
  }
  _cursorX = 0;
  _cursorY = 0;
}