╭ changed ─────────────╮ │src/ui/Repo/Events.zig│ ╰──────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │600 } else switch (key) { │ │601 .arrow_right => if (self.detailBox().children.count() > 0) self.focusDetail(root_focus), │ │602 .enter => if (self.selectedEventIndex() != null) self.focusDetail(root_focus), │ │603 + // when the window is too narrow to lay out the detail pane beside │ │604 + // the list, a click on a row opens it like enter. the row was just │ │605 + // selected, so the detail is swapped to it ahead of the build. │ │606 + .mouse => |mouse| if (self.selectedEventIndex() != null and self.content().children.values()[detail_index].rect == null and ui.widget.clickOnSelectedRow(self.listBox(), root_focus, mouse)) {│ │607 + try self.refreshDetail(allocator); │ │608 + self.focusDetail(root_focus); │ │609 + }, │ │610 else => {}, │ │611 } │ │612 } │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯