╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ Logout.zig ───────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
98 // /logout redirect also lands 99 try self.session.navigate(self.session.data.current_page.pageRoot()); 100 } 101 102 pub fn clearGrid(self: *View) void { 103 self.center.clearGrid(); 104 } 105 106 pub fn getGrid(self: View) ?Grid { 107 return self.center.getGrid(); 108 } 109 110 pub fn getFocus(self: *View) *Focus { 111 return self.center.getFocus(); 112 } 113 114 pub fn atTop(self: View) bool { 115 _ = self; 116 return true; 117 } 118 }; 119