╭ changed ──────╮ │src/ui/Repo.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────╮ │359 } │ │360 │ │361 pub fn input(self: *View, allocator: std.mem.Allocator, key: Key, root_focus: *Focus) !void {│ │362 + const stack = &self.box.children.values()[stack_index].widget.stack; │ │363 if (self.getFocus().child_id) |child_id| { │ │364 if (self.box.children.getIndex(child_id)) |current_index| { │ │365 const child = &self.box.children.values()[current_index].widget; │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │398 .down => { │ │399 switch (child.*) { │ │400 .repo_header => { │ │401 + if (stack.getSelected()) |selected_widget| switch (selected_widget.*) {│ │402 + .repo_files => |*v| if (v.focusCloneUrl(root_focus)) return, │ │403 + .repo_commits => |*v| if (v.focusCloneUrl(root_focus)) return, │ │404 + else => {}, │ │405 + }; │ │406 index = stack_index; │ │407 }, │ │408 .stack => { │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────╯