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

#include <ghostty/vt/formatter.h>

Data Fields

size_t size
bool palette
bool modes
bool scrolling_region
bool tabstops
bool pwd
bool keyboard
GhosttyFormatterScreenExtra screen

Detailed Description

Extra terminal state to include in styled output.

Definition at line 83 of file formatter.h.

Field Documentation

◆ keyboard

bool keyboard

Emit keyboard modes such as ModifyOtherKeys.

Definition at line 103 of file formatter.h.

◆ modes

bool modes

Emit terminal modes that differ from their defaults using CSI h/l.

Definition at line 91 of file formatter.h.

◆ palette

bool palette

Emit the palette using OSC 4 sequences.

Definition at line 88 of file formatter.h.

◆ pwd

bool pwd

Emit the present working directory using OSC 7.

Definition at line 100 of file formatter.h.

◆ screen

Screen-level extras.

Definition at line 106 of file formatter.h.

◆ scrolling_region

bool scrolling_region

Emit scrolling region state using DECSTBM and DECSLRM sequences.

Definition at line 94 of file formatter.h.

◆ size

size_t size

Size of this struct in bytes. Must be set to sizeof(GhosttyFormatterTerminalExtra).

Definition at line 85 of file formatter.h.

◆ tabstops

bool tabstops

Emit tabstop positions by clearing all tabs and setting each one.

Definition at line 97 of file formatter.h.


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