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

#include <ghostty/vt/terminal.h>

Data Fields

uint16_t cols
uint16_t rows
size_t max_scrollback

Detailed Description

Terminal initialization options.

Examples
c-vt-formatter/src/main.c.

Definition at line 41 of file terminal.h.

Field Documentation

◆ cols

uint16_t cols

Terminal width in cells. Must be greater than zero.

Definition at line 43 of file terminal.h.

◆ max_scrollback

size_t max_scrollback

Maximum number of lines to keep in scrollback history.

Definition at line 49 of file terminal.h.

◆ rows

uint16_t rows

Terminal height in cells. Must be greater than zero.

Definition at line 46 of file terminal.h.


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