diff --git a/build.zig b/build.zig index 610ba44..6f3393e 100644 --- a/build.zig +++ b/build.zig @@ -26,7 +26,7 @@ pub fn build(b: *std.Build) void { const example = b.addExecutable(.{ .name = "vaxis_pathological_example", // Change this to the example you want to use! - .root_source_file = std.Build.LazyPath.relative("examples/table.zig"), + .root_source_file = std.Build.LazyPath.relative("examples/text_input.zig"), .target = target, .optimize = optimize, }); diff --git a/src/main.zig b/src/main.zig index f682664..66a43c5 100644 --- a/src/main.zig +++ b/src/main.zig @@ -6,12 +6,15 @@ pub const Options = @import("Options.zig"); pub const Queue = @import("queue.zig").Queue; pub const Key = @import("Key.zig"); pub const Cell = @import("Cell.zig"); +pub const Segment = Cell.Segment; +pub const PrintOptions = Window.PrintOptions; pub const Style = Cell.Style; pub const Image = @import("Image.zig"); pub const Mouse = @import("Mouse.zig"); pub const Winsize = @import("Tty.zig").Winsize; pub const Window = @import("Window.zig"); +pub const ziglyph = @import("ziglyph"); pub const widgets = @import("widgets.zig"); /// Initialize a Vaxis application.