╭ changed ─╮ │src/ui.zig│ ╰──────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │2182 pub fn input(self: *Footer, allocator: std.mem.Allocator, key: Key, root_focus: *Focus) !void { │ │2176 - _ = self; │ │2183 _ = allocator; │ │2178 - _ = key; │ │2179 - _ = root_focus; │ │2184 + switch (key) { │ │2185 + .mouse => |mouse| { │ │2186 + if (mouse.ctrl or !inp.leftClickOn(root_focus, self.getFocus().id, mouse)) return; │ │2187 + const rect = (root_focus.children.get(self.getFocus().id) orelse return).rect; │ │2188 + if (mouse.x < rect.x + self.url_width) self.session.host_request = .{ .show_url = self.url };│ │2189 + }, │ │2190 + else => {}, │ │2191 + } │ │2192 } │ │2193 │ │2194 pub fn clearGrid(self: *Footer) void { │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯