╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ try.zig ──────────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
344 allocator: std.mem.Allocator, 345 session: *ui.Session, 346 347 pub fn run(self: @This()) !void { 348 // launch the TUI 349 try hx.ui.run(self.io, self.allocator, self.session); 350 } 351 }; 352 353 try srv.run(.xit, .{}, io, allocator, cwd_path, .{ 354 .data_dir = server_path, 355 }, run_opts.err, Runnable{ .io = io, .allocator = allocator, .session = &session }); 356 } 357 } 358