scrollbar property

VtTerminalScrollbar get scrollbar

Implementation

VtTerminalScrollbar get scrollbar {
  final out = calloc<bindings.GhosttyTerminalScrollbar>();
  try {
    _checkResult(
      bindings.ghostty_terminal_get(
        _handle,
        bindings.GhosttyTerminalData.GHOSTTY_TERMINAL_DATA_SCROLLBAR,
        out.cast(),
      ),
      'ghostty_terminal_get',
    );
    return VtTerminalScrollbar.fromNative(out.ref);
  } finally {
    calloc.free(out);
  }
}