╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ Repos.zig ────────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
124 try self.list.build(allocator, constraint, root_focus); 125 } 126 127 pub fn input(self: *View, allocator: std.mem.Allocator, key: Key, root_focus: *Focus) !void { 128 try self.list.input(allocator, key, root_focus); 129 } 130 131 pub fn clearGrid(self: *View) void { 132 self.list.clearGrid(); 133 } 134 135 pub fn getGrid(self: View) ?Grid { 136 return self.list.getGrid(); 137 } 138 139 pub fn getFocus(self: *View) *Focus { 140 return self.list.getFocus(); 141 } 142 143 pub fn atTop(self: View) bool { 144 return self.list.atTop(); 145 } 146 }; 147