╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ thread.zig ───────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
3346 3347 pub fn clearGrid(self: *This) void { 3348 self.box.clearGrid(); 3349 } 3350 3351 pub fn getGrid(self: This) ?Grid { 3352 return self.box.getGrid(); 3353 } 3354 3355 pub fn getFocus(self: *This) *Focus { 3356 return self.box.getFocus(); 3357 } 3358 3359 // for the parent's "scroll up at the top jumps to the header" check: at the 3360 // top only while the header tabs hold focus, so up from the split 3361 // crosses into the tabs first. 3362 pub fn atTop(self: *This) bool { 3363 return self.headerActive(); 3364 } 3365 }; 3366 } 3367