╭ changed ────────────╮ │src/ui/Repo/Files.zig│ ╰─────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────╮ │732 // move focus `delta` rows within the nav box; returns false (without moving) │ │733 // when that would step off either end. │ │734 fn moveNav(self: *View, root_focus: *Focus, delta: isize) bool { │ │741 - const nav = self.navBox(); │ │742 - const keys = nav.children.keys(); │ │743 - const cur_id = nav.getFocus().child_id orelse return false; │ │744 - const cur: isize = @intCast(nav.children.getIndex(cur_id) orelse return false); │ │735 + const nav_box = self.navBox(); │ │736 + const keys = nav_box.children.keys(); │ │737 + const cur_id = nav_box.getFocus().child_id orelse return false; │ │738 + const cur: isize = @intCast(nav_box.children.getIndex(cur_id) orelse return false);│ │739 const target = cur + delta; │ │740 if (target < 0 or target >= @as(isize, @intCast(keys.len))) return false; │ │741 root_focus.setFocus(keys[@intCast(target)]); │ ╰────────────────────────────────────────────────────────────────────────────────────────────────╯