╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ AuthTab.zig ──────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
49 } 50 51 pub fn input(self: *View, allocator: std.mem.Allocator, key: inp.Key, root_focus: *Focus) !void { 52 try self.text_box.input(allocator, key, root_focus); 53 } 54 55 pub fn clearGrid(self: *View) void { 56 self.text_box.clearGrid(); 57 } 58 59 pub fn getGrid(self: View) ?Grid { 60 return self.text_box.getGrid(); 61 } 62 63 pub fn getFocus(self: *View) *Focus { 64 return self.text_box.getFocus(); 65 } 66 }; 67