GhosttyTerminalProgressReportFn typedef

GhosttyTerminalProgressReportFn = Pointer<NativeFunction<GhosttyTerminalProgressReportFnFunction>>

Callback function type for progress reports.

Called synchronously when the terminal receives OSC 9;4.

@param terminal The terminal handle @param userdata The userdata pointer set via GHOSTTY_TERMINAL_OPT_USERDATA @param report Borrowed progress report

@ingroup terminal

Implementation

typedef GhosttyTerminalProgressReportFn =
    ffi.Pointer<ffi.NativeFunction<GhosttyTerminalProgressReportFnFunction>>;