╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ Repos.zig ────────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
84 self.list.deinit(allocator); 85 } 86 87 pub fn build(self: *View, allocator: std.mem.Allocator, constraint: layout.Constraint, root_focus: *Focus) !void { 88 try self.list.build(allocator, constraint, root_focus); 89 } 90 91 pub fn input(self: *View, allocator: std.mem.Allocator, key: inp.Key, root_focus: *Focus) !void { 92 try self.list.input(allocator, key, root_focus); 93 } 94 95 pub fn clearGrid(self: *View) void { 96 self.list.clearGrid(); 97 } 98 99 pub fn getGrid(self: View) ?Grid { 100 return self.list.getGrid(); 101 } 102 103 pub fn getFocus(self: *View) *Focus { 104 return self.list.getFocus(); 105 } 106 107 pub fn getSelectedIndex(self: View) ?usize { 108 return self.list.getSelectedIndex(); 109 } 110 }; 111