mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-19 18:26:13 +03:00
gtk: add comments about C API types to sync
This commit is contained in:
@ -204,6 +204,7 @@ pub const Command = union(enum) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
pub const ProgressReport = struct {
|
pub const ProgressReport = struct {
|
||||||
|
// sync with ghostty_terminal_osc_command_progressreport_state_e in include/ghostty.h
|
||||||
pub const State = enum(c_int) {
|
pub const State = enum(c_int) {
|
||||||
remove,
|
remove,
|
||||||
set,
|
set,
|
||||||
@ -215,6 +216,7 @@ pub const Command = union(enum) {
|
|||||||
state: State,
|
state: State,
|
||||||
progress: ?u8 = null,
|
progress: ?u8 = null,
|
||||||
|
|
||||||
|
// sync with ghostty_terminal_osc_command_progressreport_s in include/ghostty.h
|
||||||
pub const C = extern struct {
|
pub const C = extern struct {
|
||||||
state: c_int,
|
state: c_int,
|
||||||
progress: i8,
|
progress: i8,
|
||||||
|
Reference in New Issue
Block a user