ghostty_osc_reset function
- @Native<Void Function(GhosttyOscParser)>(GhosttyOscParser)>()
- GhosttyOscParser parser
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
Implementation
@ffi.Native<ffi.Void Function(GhosttyOscParser)>()
external void ghostty_osc_reset(GhosttyOscParser parser);