ghostty_terminal_selection_ordered function

GhosttyResult ghostty_terminal_selection_ordered(
  1. GhosttyTerminal terminal,
  2. Pointer<GhosttySelection> selection,
  3. GhosttySelectionOrder desired,
  4. Pointer<GhosttySelection> out_selection,
)

Implementation

GhosttyResult ghostty_terminal_selection_ordered(
  GhosttyTerminal terminal,
  ffi.Pointer<GhosttySelection> selection,
  GhosttySelectionOrder desired,
  ffi.Pointer<GhosttySelection> out_selection,
) => GhosttyResult.fromValue(
  _ghostty_terminal_selection_ordered(
    terminal,
    selection,
    desired.value,
    out_selection,
  ),
);