╭ changed ───────────────╮ │src/ui/widget/thread.zig│ ╰────────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────╮ │2749 // for the parent's "scroll up at the top jumps to the header" check: at the│ │2750 // top only while the header tabs hold focus, so up from the split │ │2751 // crosses into the tabs first. │ │2752 - pub fn getSelectedIndex(self: *This) ?usize { │ │2753 - return if (self.headerActive()) 0 else 1; │ │2752 + pub fn atTop(self: *This) bool { │ │2753 + return self.headerActive(); │ │2754 } │ │2755 }; │ │2756 } │ ╰──────────────────────────────────────────────────────────────────────────────────────────╯