╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ try.zig ──────────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
252 allocator: std.mem.Allocator, 253 page: *const ui.Page, 254 255 pub fn run(self: @This()) !void { 256 // launch the TUI 257 try hx.ui.run(self.io, self.allocator, self.page); 258 } 259 }; 260 261 try srv.run(.xit, .{}, io, allocator, cwd_path, .{ 262 .data_dir = server_path, 263 }, run_opts.err, Runnable{ .io = io, .allocator = allocator, .page = &page }); 264 } 265 } 266