Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839pub const Key = @import("Key.zig");pub const Mouse = @import("Mouse.zig");pub const Color = @import("Cell.zig").Color;pub const Winsize = @import("main.zig").Winsize;
/// The events that Vaxis emits internallypub const Event = union(enum) { key_press: Key, key_release: Key, mouse: Mouse, mouse_leave, focus_in, focus_out, paste_start, // bracketed paste start paste_end, // bracketed paste end paste: []const u8, // osc 52 paste, caller must free color_report: Color.Report, // osc 4, 10, 11, 12 response color_scheme: Color.Scheme, winsize: Winsize, /// Cursor position report, with zero-based row and column. cursor_position: @import("Screen.zig").Cursor,
// these are delivered as discovered terminal capabilities cap_kitty_keyboard, cap_kitty_graphics, cap_rgb, cap_sgr_pixels, cap_unicode, cap_da1, cap_color_scheme_updates, cap_multi_cursor, cap_program_status,};
test { const std = @import("std"); std.testing.refAllDecls(@This());}