╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ Fork.zig ─────────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
280 .stack => try child.input(allocator, key, root_focus), 281 else => {}, 282 }, 283 .none => try child.input(allocator, key, root_focus), 284 } 285 if (next_index != current_index) root_focus.setFocus(self.box.children.keys()[next_index]); 286 } 287 288 pub fn clearGrid(self: *View) void { 289 self.box.clearGrid(); 290 } 291 292 pub fn getGrid(self: View) ?Grid { 293 return self.box.getGrid(); 294 } 295 296 pub fn getFocus(self: *View) *Focus { 297 return self.box.getFocus(); 298 } 299 }; 300