From 6e97c8d21df7e03c5634e44dbe8eab3d7583aa6b Mon Sep 17 00:00:00 2001 From: 00JCIV00 Date: Sun, 12 May 2024 13:43:14 -0400 Subject: [PATCH] Fixed PR Corrections --- src/Window.zig | 4 ++-- src/vaxis.zig | 3 --- src/widgets/Table.zig | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/Window.zig b/src/Window.zig index ef88b30..6249c95 100644 --- a/src/Window.zig +++ b/src/Window.zig @@ -1,6 +1,6 @@ const std = @import("std"); -pub const Screen = @import("Screen.zig"); +const Screen = @import("Screen.zig"); const Cell = @import("Cell.zig"); const Mouse = @import("Mouse.zig"); const Segment = @import("Cell.zig").Segment; @@ -9,7 +9,7 @@ const gw = @import("gwidth.zig"); const log = std.log.scoped(.window); -pub const Window = @This(); +const Window = @This(); pub const Size = union(enum) { expand, diff --git a/src/vaxis.zig b/src/vaxis.zig index 192889d..5a8a6e1 100644 --- a/src/vaxis.zig +++ b/src/vaxis.zig @@ -28,9 +28,6 @@ const zigimg = @import("zigimg"); pub fn init(comptime Event: type, opts: Options) !Vaxis(Event) { return Vaxis(Event).init(opts); } -test { - std.testing.refAllDecls(@This()); -} /// Vaxis is the entrypoint for a Vaxis application. The provided type T should /// be a tagged union which contains all of the events the application will diff --git a/src/widgets/Table.zig b/src/widgets/Table.zig index f79e110..aacb5ef 100644 --- a/src/widgets/Table.zig +++ b/src/widgets/Table.zig @@ -4,7 +4,7 @@ const heap = std.heap; const mem = std.mem; const meta = std.meta; -const vaxis = @import("../vaxis.zig"); +const vaxis = @import("../main.zig"); /// Table Context for maintaining state and drawing Tables with `drawTable()`. pub const TableContext = struct{