pub type TerminalEnquiryFn = Option<unsafe extern "C" fn(terminal: Terminal, userdata: *mut c_void) -> String>;Expand description
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.
Aliased Type§
pub enum TerminalEnquiryFn {
None,
Some(unsafe extern "C" fn(*mut TerminalImpl, *mut c_void) -> String),
}