╭ changed ─────────────╮ │src/ui/Repo/Events.zig│ ╰──────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │510 │ │511 const list = self.listBox(); │ │512 for (list.children.keys(), list.children.values()) |id, *child| switch (child.widget) { │ │513 - .text_box => |*text_box| text_box.options.border_style = if (list.getFocus().child_id == id) .single else .hidden,│ │513 + .text_box => |*text_box| { │ │514 + const selected = list.getFocus().child_id == id; │ │515 + text_box.options.border_style = if (selected) .single else .hidden; │ │516 + text_box.options.inverted = selected; │ │517 + }, │ │518 else => {}, │ │519 }; │ │520 │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │720 .text_box => |*text_box| text_box, │ │721 else => continue, │ │722 }; │ │719 - tab.options.border_style = if (self.box.getFocus().child_id == id) .single else .hidden;│ │723 + const selected = self.box.getFocus().child_id == id; │ │724 + tab.options.border_style = if (selected) .single else .hidden; │ │725 + tab.options.inverted = selected; │ │726 } │ │727 try self.box.build(allocator, constraint, root_focus); │ │728 } │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────╯