GhosttyTerminalEnquiryFn typedef
Callback function type for enquiry (ENQ, 0x05).
Called when the terminal receives an ENQ character. Return the response bytes as a GhosttyString. The memory must remain valid until the callback returns. Return a zero-length string to send no response.
@param terminal The terminal handle @param userdata The userdata pointer set via GHOSTTY_TERMINAL_OPT_USERDATA @return The response bytes to write back to the pty
@ingroup terminal
Implementation
typedef GhosttyTerminalEnquiryFn =
ffi.Pointer<ffi.NativeFunction<GhosttyTerminalEnquiryFnFunction>>;