scrollLines method

Future<void> scrollLines(
  1. int delta
)

Implementation

Future<void> scrollLines(int delta) async {
  TerminalScrollTrace.log(
    'client',
    'scrollLines($delta) before ${_gridPosSnapshot()}',
  );
  if (_rasterHotPath) {
    _applyRasterFrame(await _raster!.scrollLinesRaster(delta));
  } else {
    _applyScrollUpdate(await _binding.scrollLines(delta));
  }
  TerminalScrollTrace.log(
    'client',
    'scrollLines($delta) after ${_gridPosSnapshot()}',
  );
}