ghostty_snapshot_decoder_free function
- @Native<Void Function(GhosttySnapshotDecoder)>(GhosttySnapshotDecoder)>()
- GhosttySnapshotDecoder decoder
Free a snapshot decoder.
This does not release the caller's ownership of a terminal returned by ready or decode. Abandoning an incremental decode leaves that terminal usable with whatever history had already been restored.
@param decoder Decoder to free (may be NULL)
@ingroup snapshot
Implementation
@ffi.Native<ffi.Void Function(GhosttySnapshotDecoder)>()
external void ghostty_snapshot_decoder_free(GhosttySnapshotDecoder decoder);