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-02-24 15:14:12 +01:00
|
|
|
pub const Queue = @import("queue.zig").Queue;
|
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");
|
2024-03-01 19:28:48 +01:00
|
|
|
pub const Segment = Cell.Segment;
|
|
|
|
pub const PrintOptions = Window.PrintOptions;
|
2024-02-18 19:20:47 +01:00
|
|
|
pub const Style = Cell.Style;
|
2024-03-02 04:29:16 +01:00
|
|
|
pub const Color = Cell.Color;
|
2024-02-11 19:59:33 +01:00
|
|
|
pub const Image = @import("Image.zig");
|
2024-01-31 19:50:00 +01:00
|
|
|
pub const Mouse = @import("Mouse.zig");
|
2024-03-11 15:38:52 +01:00
|
|
|
pub const Screen = @import("Screen.zig");
|
2024-04-15 14:15:26 +02:00
|
|
|
pub const AllocatingScreen = @import("InternalScreen.zig");
|
2024-01-19 06:17:57 +01:00
|
|
|
pub const Winsize = @import("Tty.zig").Winsize;
|
2024-02-24 16:11:52 +01:00
|
|
|
pub const Window = @import("Window.zig");
|
2024-01-18 04:52:33 +01:00
|
|
|
|
2024-03-01 19:28:48 +01:00
|
|
|
pub const ziglyph = @import("ziglyph");
|
2024-02-11 19:59:33 +01:00
|
|
|
pub const widgets = @import("widgets.zig");
|
2024-03-11 15:38:52 +01:00
|
|
|
pub const gwidth = @import("gwidth.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
|
|
|
}
|