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

#include <ghostty/vt/terminal.h>

Data Fields

GhosttyMode mode
bool value

Detailed Description

A terminal mode and boolean value used for mode configuration and queries.

For GHOSTTY_TERMINAL_DATA_MODE, initialize mode before calling ghostty_terminal_get(). On success, value contains the current mode value.

This struct has a frozen layout and will not gain fields in future versions.

Definition at line 1070 of file terminal.h.

Field Documentation

◆ mode

Mode to configure or query.

Definition at line 1072 of file terminal.h.

◆ value

bool value

Value to set, or the current value returned by a query.

Definition at line 1075 of file terminal.h.


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