04f6117cfe
Now that DA1 parsing is done, block the queryTerminal function until the DA1 response is received, or a 1 second timeout elapses. With this functionality, move certain events into Vaxis's realm of handling: IE enabling kitty keyboard, unicode mode, etc Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
32 lines
881 B
Zig
32 lines
881 B
Zig
pub const Vaxis = @import("vaxis.zig").Vaxis;
|
|
pub const Options = @import("Options.zig");
|
|
|
|
const cell = @import("cell.zig");
|
|
pub const Cell = cell.Cell;
|
|
pub const Style = cell.Style;
|
|
|
|
pub const Key = @import("Key.zig");
|
|
pub const Winsize = @import("Tty.zig").Winsize;
|
|
|
|
pub const widgets = @import("widgets/main.zig");
|
|
|
|
/// Initialize a Vaxis application.
|
|
pub fn init(comptime EventType: type, opts: Options) !Vaxis(EventType) {
|
|
return Vaxis(EventType).init(opts);
|
|
}
|
|
|
|
test {
|
|
_ = @import("GraphemeCache.zig");
|
|
_ = @import("Key.zig");
|
|
_ = @import("Options.zig");
|
|
_ = @import("Parser.zig");
|
|
_ = @import("Screen.zig");
|
|
_ = @import("Tty.zig");
|
|
_ = @import("Window.zig");
|
|
_ = @import("cell.zig");
|
|
_ = @import("ctlseqs.zig");
|
|
_ = @import("event.zig");
|
|
_ = @import("gwidth.zig");
|
|
_ = @import("queue.zig");
|
|
_ = @import("vaxis.zig");
|
|
}
|