╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ Auth.zig ─────────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
74 pub fn getFocus(self: *View) *Focus { 75 return self.stack.getFocus(); 76 } 77 78 pub fn atTop(self: View, root_focus: *Focus) bool { 79 const selected = self.stack.getSelected() orelse return false; 80 return selected.atTop(root_focus); 81 } 82 }; 83