╭ changed ──────╮ │src/test/ui.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────────────────────────────────╮ │1 const std = @import("std"); │ │2 const ui = @import("../ui.zig"); │ │3 const Commits = @import("../ui/Repo/Commits.zig"); │ │4 -const SubHeader = @import("../ui/Repo/Commits/SubHeader.zig"); │ │4 │ │5 // the "next" row at the bottom of the commits list must be recognized as a │ │6 // cross-page link (so a click navigates), exactly like the diff pane's "next".│ ╰──────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │21 .{ .oid = oid0, .date = "2024-01-01", .message = "first", .hunks = &.{}, .window_start = 0, .has_prev = false, .has_more = false },│ │22 }, │ │23 .next_start = next_oid, │ │25 - .sub_header = try SubHeader.init(arena.allocator(), .object, oid0), │ │24 + .header = try Commits.Header.init(arena.allocator(), .object, oid0), │ │25 }; │ │26 │ │27 var session = ui.Session{ .arena = &arena, .page_arena = &arena, .is_terminal = true }; │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯