Skip to main content

TerminalBellFn

Type Alias TerminalBellFn 

Source
pub type TerminalBellFn = Option<unsafe extern "C" fn(terminal: Terminal, userdata: *mut c_void)>;
Expand description

Callback function type for bell.

Called when the terminal receives a BEL character (0x07).

Aliased Type§

pub enum TerminalBellFn {
    None,
    Some(unsafe extern "C" fn(*mut TerminalImpl, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut TerminalImpl, *mut c_void))

Some value of type T.