Skip to main content

ghostty_osc_reset

Function ghostty_osc_reset 

Source
pub unsafe extern "C" fn ghostty_osc_reset(
    parser: GhosttyOscParser_ptr,
)
Expand description

Reset an OSC parser instance to its initial state.

Resets the parser state, clearing any partially parsed OSC sequences and returning the parser to its initial state. This is useful for reusing a parser instance or recovering from parse errors.

@param parser The parser handle to reset, must not be null.

@ingroup osc