lib-vt: expose selection gesture to Zig

Selection gestures are already part of the libghostty-vt C API, but the
native Zig module did not re-export the underlying terminal type. Zig
consumers that implement mouse selection had to reach into terminal
internals instead of using @import("ghostty-vt").

Re-export SelectionGesture from lib_vt alongside the other terminal
selection and screen types.
This commit is contained in:
Tim Culverhouse
2026-07-02 15:38:23 -05:00
parent c22df09da1
commit f245cdc667

View File

@@ -71,6 +71,7 @@ pub const RenderState = terminal.RenderState;
pub const Screen = terminal.Screen;
pub const ScreenSet = terminal.ScreenSet;
pub const Selection = terminal.Selection;
pub const SelectionGesture = terminal.SelectionGesture;
pub const size_report = terminal.size_report;
pub const SizeReportStyle = terminal.SizeReportStyle;
pub const StringMap = terminal.StringMap;