╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ Repo.zig ─────────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
307 .stack => { 308 try child.input(allocator, key, root_focus); 309 }, 310 else => {}, 311 } 312 }, 313 .none => { 314 try child.input(allocator, key, root_focus); 315 }, 316 } 317 318 if (index != current_index) { 319 root_focus.setFocus(self.box.children.keys()[index]); 320 } 321 } 322 } 323 } 324 325 pub fn clearGrid(self: *View) void { 326 self.box.clearGrid(); 327 } 328 329 pub fn getGrid(self: View) ?Grid { 330 return self.box.getGrid(); 331 } 332 333 pub fn getFocus(self: *View) *Focus { 334 return self.box.getFocus(); 335 } 336 }; 337