╭ changed ──────────╮ │src/ui/CloneUrl.zig│ ╰───────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭───────────────────────────────────────────────────────────────────╮ │143 else │ │144 .hidden; │ │145 } │ │118 - self.urlInput().options.border_style = .single; │ │119 - self.urlInput().cursor = 0; │ │120 - self.urlInput().scroll_offset = 0; │ │146 + self.textInput().options.border_style = .single; │ │147 + self.textInput().cursor = 0; │ │148 + self.textInput().scroll_offset = 0; │ │149 try self.box.build(allocator, constraint, root_focus);│ │150 │ │151 if (!self.session.is_terminal) { │ ╰───────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────╮ │152 const aa = self.session.arena.allocator(); │ │125 - const id = self.urlInput().getFocus().id; │ │126 - try self.session.text_inputs.put(aa, id, self.urlInput()); │ │127 - try self.session.input_values.put(aa, id, self.protocols[self.selected].url); │ │153 + const id = self.textInput().getFocus().id; │ │154 + try self.session.text_inputs.put(aa, id, self.textInput()); │ │155 + try self.session.input_values.put(aa, id, self.protocols[self.selected].text);│ │156 } │ │157 } │ │158 │ ╰───────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │168 for (0..self.protocol_count) |i| { │ │169 if (inp.leftClickOn(root_focus, self.protocolLabel(i).getFocus().id, mouse)) break :blk i; │ │170 } │ │143 - if (self.session.is_terminal and !mouse.ctrl and inp.leftClickOn(root_focus, self.urlInput().getFocus().id, mouse)) │ │171 + if (self.session.is_terminal and !mouse.ctrl and inp.leftClickOn(root_focus, self.textInput().getFocus().id, mouse))│ │172 self.session.host_request = .{ .show_copyable_text = self.protocols[self.selected].copyable_text }; │ │173 return; │ │174 }, │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────╮ │175 else => return, │ │176 }; │ │177 self.selected = next; │ │150 - try self.urlInput().setContent(allocator, self.protocols[next].url); │ │178 + try self.textInput().setContent(allocator, self.protocols[next].text); │ │179 } │ │180 │ │153 - fn urlInput(self: *View) *wgt.TextInput(ui.Widget) { │ │181 + fn textInput(self: *View) *wgt.TextInput(ui.Widget) { │ │182 return &self.box.children.values()[self.protocol_count].widget.text_input;│ │183 } │ │184 │ ╰───────────────────────────────────────────────────────────────────────────────────────╯