╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ───────────╮ │src/ui/Repo/Undo.zig│ ╰────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │472 errdefer prompt.deinit(allocator); │ │473 try box.children.put(allocator, prompt.getFocus().id, .{ .widget = .{ .text = prompt }, .rect = null, .min_size = null }); │ │474 │ │475 - var button = try wgt.TextBox.init(allocator, "clear undo history", .{ .border_style = .single, .rounded_corners = true, .wrap_kind = .none });│ │475 + var button = try wgt.TextBox.init(allocator, "clear undo history", .{ .border_style = .single, .round_corners = true, .wrap_kind = .none }); │ │476 errdefer button.deinit(allocator); │ │477 button.getFocus().mode = .all; │ │478 button.getFocus().kind = if (data.can_undo) .{ .custom = "submit" } else .text_box; │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │483 } │ │484 │ │485 fn addText(allocator: std.mem.Allocator, box: *wgt.Box(ui.Widget), text: []const u8, link: ?[]const u8, border: wgt.BorderStyle) !void {│ │486 - var row = try wgt.TextBox.init(allocator, text, .{ .border_style = border, .rounded_corners = true, .wrap_kind = .word }); │ │486 + var row = try wgt.TextBox.init(allocator, text, .{ .border_style = border, .round_corners = true, .wrap_kind = .word }); │ │487 errdefer row.deinit(allocator); │ │488 row.getFocus().mode = .all; │ │489 if (link) |value| row.getFocus().kind = .{ .custom = value }; │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ──────────╮ │src/ui/Settings.zig│ ╰───────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │36 box.getFocus().kind = .{ .custom = "form:ansi" }; │ │37 │ │38 { │ │39 - var button = try wgt.TextBox.init(allocator, ansiLabel(session), .{ .border_style = .single, .rounded_corners = true, .wrap_kind = .none });│ │39 + var button = try wgt.TextBox.init(allocator, ansiLabel(session), .{ .border_style = .single, .round_corners = true, .wrap_kind = .none }); │ │40 errdefer button.deinit(allocator); │ │41 // the renderer distinguishes plain clickables from buttons that │ │42 // should POST to a server route by this kind. │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ──────────────╮ │src/ui/Unauthorized.zig│ ╰───────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │29 ; │ │30 │ │31 pub fn init(allocator: std.mem.Allocator) !View { │ │32 - var text_box = try wgt.TextBox.init(allocator, message, .{ .border_style = null, .rounded_corners = false, .wrap_kind = .word });│ │32 + var text_box = try wgt.TextBox.init(allocator, message, .{ .border_style = null, .round_corners = false, .wrap_kind = .word }); │ │33 errdefer text_box.deinit(allocator); │ │34 return .{ .center = try ui.widget.Center.init(allocator, .{ .text_box = text_box }) }; │ │35 } │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ──────╮ │src/ui/User.zig│ ╰───────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │172 const stack_index: usize = 1; │ │173 │ │174 pub fn init(allocator: std.mem.Allocator, data: *const Self, session: *ui.Session) !View { │ │175 - var box = try wgt.Box(ui.Widget).init(allocator, .{ .border_style = null, .rounded_corners = true, .direction = .vert });│ │175 + var box = try wgt.Box(ui.Widget).init(allocator, .{ .border_style = null, .round_corners = true, .direction = .vert }); │ │176 errdefer box.deinit(allocator); │ │177 │ │178 // build the header first so we can grab the repos-tab id for the auth │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ─────────────╮ │src/ui/User/Header.zig│ ╰──────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │36 session: *ui.Session, │ │37 │ │38 pub fn init(allocator: std.mem.Allocator, data: *const Self, session: *ui.Session) !View { │ │39 - var box = try wgt.Box(ui.Widget).init(allocator, .{ .border_style = .hidden, .rounded_corners = true, .direction = .horiz });│ │39 + var box = try wgt.Box(ui.Widget).init(allocator, .{ .border_style = .hidden, .round_corners = true, .direction = .horiz }); │ │40 errdefer box.deinit(allocator); │ │41 │ │42 var title_box = try wgt.Box(ui.Widget).init(allocator, .{ .border_style = null, .direction = .horiz }); │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │117 │ │118 // repos tab │ │119 { │ │120 - var text_box = try wgt.TextBox.init(allocator, repos_tab_label, .{ .border_style = .single, .rounded_corners = true, .wrap_kind = .none });│ │120 + var text_box = try wgt.TextBox.init(allocator, repos_tab_label, .{ .border_style = .single, .round_corners = true, .wrap_kind = .none }); │ │121 errdefer text_box.deinit(allocator); │ │122 text_box.getFocus().mode = .all; │ │123 text_box.getFocus().kind = .{ .custom = repos_link }; │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │132 │ │133 // forks tab │ │134 { │ │135 - var text_box = try wgt.TextBox.init(allocator, forks_tab_label, .{ .border_style = .single, .rounded_corners = true, .wrap_kind = .none });│ │135 + var text_box = try wgt.TextBox.init(allocator, forks_tab_label, .{ .border_style = .single, .round_corners = true, .wrap_kind = .none }); │ │136 errdefer text_box.deinit(allocator); │ │137 text_box.getFocus().mode = .all; │ │138 text_box.getFocus().kind = .{ .custom = forks_link }; │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │159 │ │160 // settings tab. settings are account preferences, so it needs a login. │ │161 if (session.data.user_id != null) { │ │162 - var text_box = try wgt.TextBox.init(allocator, settings_tab_label, .{ .border_style = .single, .rounded_corners = true, .wrap_kind = .none });│ │162 + var text_box = try wgt.TextBox.init(allocator, settings_tab_label, .{ .border_style = .single, .round_corners = true, .wrap_kind = .none }); │ │163 errdefer text_box.deinit(allocator); │ │164 text_box.getFocus().mode = .all; │ │165 text_box.getFocus().kind = .{ .custom = settings_link }; │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │189 │ │190 // quit tab │ │191 if (session.is_terminal) { │ │192 - var text_box = try wgt.TextBox.init(allocator, ui.Quit.tab_label, .{ .border_style = .single, .rounded_corners = true, .wrap_kind = .none });│ │192 + var text_box = try wgt.TextBox.init(allocator, ui.Quit.tab_label, .{ .border_style = .single, .round_corners = true, .wrap_kind = .none }); │ │193 errdefer text_box.deinit(allocator); │ │194 text_box.getFocus().mode = .all; │ │195 text_box.getFocus().kind = .{ .custom = ui.Quit.tab_kind }; │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────╮ │next →│ ╰──────╯