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

#include <ghostty/vt/selection.h>

Data Fields

uint32_t columns
uint32_t cell_width
uint32_t padding_left
uint32_t screen_height

Detailed Description

Display geometry used to interpret selection gesture drag events.

Examples
c-vt-selection-gesture/src/main.c.

Definition at line 359 of file selection.h.

Field Documentation

◆ cell_width

uint32_t cell_width

Width of one terminal cell in surface pixels. Must be non-zero.

Definition at line 364 of file selection.h.

◆ columns

uint32_t columns

Number of columns in the rendered terminal grid. Must be non-zero.

Definition at line 361 of file selection.h.

◆ padding_left

uint32_t padding_left

Left padding before the terminal grid begins in surface pixels.

Definition at line 367 of file selection.h.

◆ screen_height

uint32_t screen_height

Height of the rendered terminal surface in surface pixels. Must be non-zero.

Definition at line 370 of file selection.h.


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