ghostty_terminal_free function

  1. @Native<Void Function(GhosttyTerminal)>(GhosttyTerminal)>()
void ghostty_terminal_free(
  1. GhosttyTerminal terminal
)

Free a terminal instance.

Releases all resources associated with the terminal. After this call, the terminal handle becomes invalid and must not be used.

@param terminal The terminal handle to free (may be NULL)

@ingroup terminal

Implementation

@ffi.Native<ffi.Void Function(GhosttyTerminal)>()
external void ghostty_terminal_free(GhosttyTerminal terminal);