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

#include <ghostty/vt/terminal.h>

Data Fields

size_t size
GhosttyTerminalProgressState state
int8_t progress

Detailed Description

A progress report emitted by the running program.

This is a sized struct. The callback must only access fields present in the size reported by size.

Definition at line 880 of file terminal.h.

Field Documentation

◆ progress

int8_t progress

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

Definition at line 888 of file terminal.h.

◆ size

size_t size

Size of this struct in bytes.

Definition at line 882 of file terminal.h.

◆ state

Literal progress state reported by the running program.

Definition at line 885 of file terminal.h.


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