╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ Commits.zig ──────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
843 pub fn deinit(self: *Header.View, allocator: std.mem.Allocator) void { 844 self.box.deinit(allocator); 845 } 846 847 pub fn build(self: *Header.View, allocator: std.mem.Allocator, constraint: layout.Constraint, root_focus: *Focus) !void { 848 self.clearGrid(); 849 try self.box.build(allocator, constraint, root_focus); 850 } 851 852 pub fn input(self: *Header.View, allocator: std.mem.Allocator, key: Key, root_focus: *Focus) !void { 853 _ = self; 854 _ = allocator; 855 _ = key; 856 _ = root_focus; 857 } 858 859 pub fn clearGrid(self: *Header.View) void { 860 self.box.clearGrid(); 861 } 862 863 pub fn getGrid(self: Header.View) ?Grid { 864 return self.box.getGrid(); 865 } 866 867 pub fn getFocus(self: *Header.View) *Focus { 868 return self.box.getFocus(); 869 } 870 }; 871 }; 872