2024-01-19 17:13:32 +01:00
|
|
|
pub const Vaxis = @import("vaxis.zig").Vaxis;
|
|
|
|
pub const Options = @import("Options.zig");
|
|
|
|
|
2024-01-19 03:17:26 +01:00
|
|
|
pub const Key = @import("Key.zig");
|
2024-01-19 06:17:57 +01:00
|
|
|
pub const Winsize = @import("Tty.zig").Winsize;
|
2024-01-18 04:52:33 +01:00
|
|
|
|
2024-01-19 17:13:32 +01:00
|
|
|
/// Initialize a Vaxis application.
|
|
|
|
pub fn init(comptime EventType: type, opts: Options) !Vaxis(EventType) {
|
|
|
|
return Vaxis(EventType).init(opts);
|
|
|
|
}
|
|
|
|
|
2024-01-19 03:17:26 +01:00
|
|
|
test {
|
|
|
|
_ = @import("Key.zig");
|
2024-01-19 17:13:32 +01:00
|
|
|
_ = @import("Options.zig");
|
2024-01-19 13:45:44 +01:00
|
|
|
_ = @import("Screen.zig");
|
2024-01-19 03:17:26 +01:00
|
|
|
_ = @import("Tty.zig");
|
2024-01-19 13:45:44 +01:00
|
|
|
_ = @import("Window.zig");
|
|
|
|
_ = @import("cell.zig");
|
2024-01-18 23:16:21 +01:00
|
|
|
_ = @import("queue.zig");
|
2024-01-19 17:13:32 +01:00
|
|
|
_ = @import("vaxis.zig");
|
2024-01-18 04:52:33 +01:00
|
|
|
}
|