mirror-ghostty/include/ghostty
Mitchell Hashimoto f730ee0557
libghostty: expose viewport active state
Expose whether the terminal viewport is currently pinned to the active
area through the libghostty-vt terminal data API. Previously embedders
could only infer this from scrollbar geometry, which was indirect and
could require the more expensive scrollbar calculation.

The new GHOSTTY_TERMINAL_DATA_VIEWPORT_ACTIVE value returns the exact
PageList viewport state as a bool. The scroll viewport test now verifies
the value while moving between the active area and scrollback.
2026-05-27 15:24:49 -07:00
..
vt libghostty: expose viewport active state 2026-05-27 15:24:49 -07:00
vt.h example/c-vt-selection-gesture 2026-05-27 11:01:25 -07:00