libghostty
Loading...
Searching...
No Matches
GhosttyTerminalScrollbar Struct Reference

#include <ghostty/vt/terminal.h>

Data Fields

uint64_t total
uint64_t offset
uint64_t len

Detailed Description

Scrollbar state for the terminal viewport.

Represents the scrollable area dimensions needed to render a scrollbar.

Definition at line 241 of file terminal.h.

Field Documentation

◆ len

uint64_t len

Length of the visible area in rows.

Definition at line 249 of file terminal.h.

◆ offset

uint64_t offset

Offset into the total area that the viewport is at.

Definition at line 246 of file terminal.h.

◆ total

uint64_t total

Total size of the scrollable area in rows.

Definition at line 243 of file terminal.h.


The documentation for this struct was generated from the following file: