libghostty-vt 0.0.0
Loading...
Searching...
No Matches
GhosttyTerminalProgressReport Struct Reference

#include <ghostty/vt/terminal.h>

Data Fields

GhosttyTerminalProgressState state
int8_t progress

Detailed Description

A progress report emitted by the running program.

This struct has a frozen layout and will never gain fields. It is 8 bytes on every target. If a later version of libghostty-vt has more to report, it will add a new option with a new struct, and this callback will keep receiving this struct unchanged.

Definition at line 1220 of file terminal.h.

Field Documentation

◆ progress

int8_t progress

Progress percentage from 0 through 100, or -1 when omitted.

Definition at line 1225 of file terminal.h.

◆ state

Literal progress state reported by the running program.

Definition at line 1222 of file terminal.h.


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