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
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m41s
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user