mod: bump zterm dependency
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m21s

This commit is contained in:
2026-04-04 23:06:29 +02:00
parent abd56b75d3
commit c8c3899679
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -6,8 +6,8 @@
.minimum_zig_version = "0.16.0-dev.463+f624191f9", .minimum_zig_version = "0.16.0-dev.463+f624191f9",
.dependencies = .{ .dependencies = .{
.zterm = .{ .zterm = .{
.url = "git+https://gitea.yves-biener.de/yves-biener/zterm#4874252e8c3a5d645ac2c37bbfd0e669964912fc", .url = "git+https://gitea.yves-biener.de/yves-biener/zterm#312fbedf4c9a2effbbd0cc9bed34d86d2a0cc993",
.hash = "zterm-0.3.0-1xmmEH82HABfsn5imAK8lw93LevIaqNV10g6xfkNj_OT", .hash = "zterm-0.3.0-1xmmEClaHACadsNn2dewvqLqr_KoHHcPx5iuJM6778ZV",
}, },
.zlog = .{ .zlog = .{
.url = "git+https://gitea.yves-biener.de/yves-biener/zlog#b3c8a3ab1ccae1ba50efbdf26d68a18da8594d2c", .url = "git+https://gitea.yves-biener.de/yves-biener/zlog#b3c8a3ab1ccae1ba50efbdf26d68a18da8594d2c",
+3 -2
View File
@@ -20,7 +20,8 @@ pub fn main() !void {
// skip own executable name // skip own executable name
_ = arg_it.skip(); _ = arg_it.skip();
var app: App = .init(.{}, .{ const io: std.Io = .{};
var app: App = .init(allocator, io, .{
.page = .about, .page = .about,
.document = .init(try std.fs.cwd().readFileAlloc(allocator, "./doc/about.md", std.math.maxInt(usize))), .document = .init(try std.fs.cwd().readFileAlloc(allocator, "./doc/about.md", std.math.maxInt(usize))),
}); });
@@ -97,7 +98,7 @@ pub fn main() !void {
try container.append(footer); try container.append(footer);
} }
try app.start(); try app.start(.full);
defer app.stop() catch |err| log.err("Failed to stop application: {any}", .{err}); defer app.stop() catch |err| log.err("Failed to stop application: {any}", .{err});
if (arg_it.next()) |path| { if (arg_it.next()) |path| {