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

#include <ghostty/vt/formatter.h>

Data Fields

size_t size
bool cursor
bool style
bool hyperlink
bool protection
bool kitty_keyboard
bool charsets

Detailed Description

Extra screen state to include in styled output.

Definition at line 55 of file formatter.h.

Field Documentation

◆ charsets

bool charsets

Emit character set designations and invocations.

Definition at line 75 of file formatter.h.

◆ cursor

bool cursor

Emit cursor position using CUP (CSI H).

Definition at line 60 of file formatter.h.

◆ hyperlink

bool hyperlink

Emit current hyperlink state using OSC 8 sequences.

Definition at line 66 of file formatter.h.

◆ kitty_keyboard

bool kitty_keyboard

Emit Kitty keyboard protocol state using CSI > u and CSI = sequences.

Definition at line 72 of file formatter.h.

◆ protection

bool protection

Emit character protection mode using DECSCA.

Definition at line 69 of file formatter.h.

◆ size

size_t size

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

Definition at line 57 of file formatter.h.

◆ style

bool style

Emit current SGR style state based on the cursor's active style_id.

Definition at line 63 of file formatter.h.


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