╭ changed ─────────────╮ │src/ui/Fork/Header.zig│ ╰──────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │69 │ │70 try ui.widget.addBackButton(allocator, &title_box, session); │ │71 │ │72 - // the user's name links to their page. │ │72 + // the forker's name links to their page. │ │73 { │ │74 var text_buf: [evt.User.name_max_len + 1]u8 = undefined; │ │75 - const text = try std.fmt.bufPrint(&text_buf, "{s}/", .{data.owner_name}); │ │76 - var owner = try wgt.TextBox.init(allocator, text, .{ .border_style = .hidden, .wrap_kind = .none }); │ │77 - errdefer owner.deinit(allocator); │ │78 - owner.getFocus().mode = .all; │ │79 - owner.getFocus().kind = .{ .custom = try std.fmt.allocPrint(aa, "a:/user/{s}", .{data.owner_name}) }; │ │75 + const text = try std.fmt.bufPrint(&text_buf, "{s}/", .{data.forker_name}); │ │76 + var forker = try wgt.TextBox.init(allocator, text, .{ .border_style = .hidden, .wrap_kind = .none }); │ │77 + errdefer forker.deinit(allocator); │ │78 + forker.getFocus().mode = .all; │ │79 + forker.getFocus().kind = .{ .custom = try std.fmt.allocPrint(aa, "a:/user/{s}", .{data.forker_name}) }; │ │80 first_group_width += try xitui.width.displayWidth(text) + 2; │ │81 - try title_box.children.put(allocator, owner.getFocus().id, .{ .widget = .{ .text_box = owner }, .rect = null, .min_size = null }); │ │81 + try title_box.children.put(allocator, forker.getFocus().id, .{ .widget = .{ .text_box = forker }, .rect = null, .min_size = null });│ │82 } │ │83 │ │84 // the title links to the target repository. │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯