╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ──────────────╮ │src/ui/Repo/Commits.zig│ ╰───────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │639 if (commit.merge) if (self.data.handle.location.commitsMergeRoute(commit.oid)) |route| { │ │625 - try addLink(allocator, inner, "view commits from this merge", try pa.allocator().print("a:{s}", .{try route.toUrl(pa)})); │ │640 + _ = try addLink(allocator, inner, "view commits from this merge", try pa.allocator().print("a:{s}", .{try route.toUrl(pa)}));│ │641 }; │ │642 { │ │643 var row = try wgt.Box(ui.Widget).init(allocator, .{ .border = null, .direction = .horiz }); │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │711 } │ │712 if (direction == .up and self.contentAtTop() and self.focusHeader(root_focus)) return; │ │713 if (self.detailActive()) { │ │714 + // the way back to the list, by enter or a click │ │715 + if (self.back_id) |id| { │ │716 + if ((key == .enter and root_focus.grandchild_id == id) or (key == .mouse and inp.leftClickOn(root_focus, id, key.mouse))) return self.focusList(root_focus);│ │717 + } │ │718 const inner = self.detailInner(); │ │719 if (inp.rowDelta(key, @intCast(inner.children.count()))) |delta| { │ │720 ui.widget.moveRowFocus(inner, self.detailScroll(), root_focus, delta); │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │759 // the list, a click on a row opens it like enter. the row was just │ │760 // selected, so the detail is swapped to it ahead of the build. │ │761 .mouse => |mouse| if (self.contentBox().children.values()[detail_index].rect == null and ui.widget.clickOnSelectedRow(self.listBox(), root_focus, mouse)) {│ │743 - try self.refreshDetail(allocator); │ │762 + try self.refreshDetail(allocator, true); │ │763 self.focusDetail(root_focus); │ │764 }, │ │765 else => {}, │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯