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

This commit is contained in:
2025-11-26 17:55:29 +01:00
parent ae64674873
commit 5dba0d4408
8 changed files with 230 additions and 0 deletions

22
src/root.zig Normal file
View 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());
}