ref(input): move mouse.zig and key.zig into public input.zig namespace
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m41s

This commit is contained in:
2025-02-18 18:24:09 +01:00
parent e2f9408850
commit f66a870223
8 changed files with 121 additions and 107 deletions

View File

@@ -4,7 +4,7 @@ const color = @import("color.zig");
const size = @import("size.zig");
// public exports
pub const key = @import("key.zig");
pub const input = @import("input.zig");
pub const App = @import("app.zig").App;
// App also exports further types once initialized with the user events at compile time:
@@ -20,7 +20,8 @@ pub const Layout = container.Layout;
pub const Cell = @import("cell.zig");
pub const Color = color.Color;
pub const Key = key.Key;
pub const Key = input.Key;
pub const Mouse = input.Mouse;
pub const Position = size.Position;
pub const Size = size.Size;
pub const Style = @import("style.zig");