Intial project structure with zterm dependency and basic tui render/event loop
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 1m41s
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 1m41s
This commit is contained in:
22
src/root.zig
Normal file
22
src/root.zig
Normal file
@@ -0,0 +1,22 @@
|
||||
//! `tui-diff` root module
|
||||
|
||||
// TODO planned features:
|
||||
|
||||
// FIX known issues:
|
||||
|
||||
pub const Event = union(enum) {};
|
||||
|
||||
pub fn Container(App: type, gpa: Allocator) !App.Container {
|
||||
// TODO create container structure
|
||||
// -> might require some additional arguments
|
||||
return try .init(gpa, .{}, .{});
|
||||
}
|
||||
|
||||
const std = @import("std");
|
||||
const Allocator = std.mem.Allocator;
|
||||
|
||||
pub const Model = @import("model.zig");
|
||||
|
||||
test {
|
||||
std.testing.refAllDeclsRecursive(@This());
|
||||
}
|
||||
Reference in New Issue
Block a user