2024-02-11 19:59:33 +01:00
|
|
|
const std = @import("std");
|
|
|
|
|
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-02-11 19:59:33 +01:00
|
|
|
pub const Cell = @import("Cell.zig");
|
|
|
|
pub const Image = @import("Image.zig");
|
2024-01-31 19:50:00 +01:00
|
|
|
pub const Mouse = @import("Mouse.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-02-11 19:59:33 +01:00
|
|
|
pub const widgets = @import("widgets.zig");
|
2024-01-30 20:30:36 +01:00
|
|
|
|
2024-01-19 17:13:32 +01:00
|
|
|
/// Initialize a Vaxis application.
|
2024-02-11 19:59:33 +01:00
|
|
|
pub fn init(comptime Event: type, opts: Options) !Vaxis(Event) {
|
|
|
|
return Vaxis(Event).init(opts);
|
2024-01-19 17:13:32 +01:00
|
|
|
}
|
|
|
|
|
2024-01-19 03:17:26 +01:00
|
|
|
test {
|
2024-02-11 19:59:33 +01:00
|
|
|
std.testing.refAllDecls(@This());
|
2024-01-18 04:52:33 +01:00
|
|
|
}
|