mod(read_input): read user input from tty

This commit is contained in:
2024-11-05 19:59:55 +01:00
parent 9ef1081903
commit b0b262ae0b
6 changed files with 184 additions and 13 deletions

View File

@@ -29,6 +29,7 @@ pub fn build(b: *std.Build) void {
.optimize = optimize,
.target = target,
});
const zg_dep = b.dependency("zg", .{});
const exe = b.addExecutable(.{
.name = "tui-website",
@@ -39,6 +40,7 @@ pub fn build(b: *std.Build) void {
exe.root_module.addImport("vaxis", vaxis_dep.module("vaxis"));
exe.root_module.addImport("zlog", zlog_dep.module("zlog"));
exe.root_module.addImport("zmd", zmd_dep.module("zmd"));
exe.root_module.addImport("code_point", zg_dep.module("code_point"));
// This declares intent for the executable to be installed into the
// standard location when the user invokes the "install" step (the default