╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ CloneUrl.zig ─────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
158 return &self.box.children.values()[index].widget.text_box; 159 } 160 161 pub fn clearGrid(self: *View) void { 162 self.box.clearGrid(); 163 } 164 165 pub fn getGrid(self: View) ?Grid { 166 return self.box.getGrid(); 167 } 168 169 pub fn getFocus(self: *View) *Focus { 170 return self.box.getFocus(); 171 } 172 }; 173