╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ─╮ │src/ui.zig│ ╰──────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1569 self.grid = grid; │ │1570 } │ │1571 │ │1572 - pub fn input(self: *Center, allocator: std.mem.Allocator, key: inp.Key, root_focus: *Focus) !void {│ │1572 + pub fn input(self: *Center, allocator: std.mem.Allocator, key: Key, root_focus: *Focus) !void { │ │1573 try self.child.input(allocator, key, root_focus); │ │1574 } │ │1575 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1787 } │ │1788 } │ │1789 │ │1790 - pub fn input(self: *AnsiBackground, allocator: std.mem.Allocator, key: inp.Key, root_focus: *Focus) !void {│ │1790 + pub fn input(self: *AnsiBackground, allocator: std.mem.Allocator, key: Key, root_focus: *Focus) !void { │ │1791 try self.child.input(allocator, key, root_focus); │ │1792 } │ │1793 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ──────╮ │src/ui/Auth.zig│ ╰───────────────╯ ╭───────────────────────────────────╮ │3 const xit = @import("xit"); │ │4 const xitui = xit.xitui; │ │5 const layout = xitui.layout; │ │6 -const inp = xitui.input; │ │6 +const Key = xitui.input.Key; │ │7 const Grid = xitui.grid.Grid; │ │8 const Focus = xitui.focus.Focus;│ │9 │ ╰───────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │68 } │ │69 } │ │70 │ │71 - pub fn input(self: *View, allocator: std.mem.Allocator, key: inp.Key, root_focus: *Focus) !void {│ │71 + pub fn input(self: *View, allocator: std.mem.Allocator, key: Key, root_focus: *Focus) !void { │ │72 if (self.session.data.user_id != null) { │ │73 try self.logout.input(allocator, key, root_focus); │ │74 } else { │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ────────────╮ │src/ui/Auth/Login.zig│ ╰─────────────────────╯ ╭────────────────────────────────────────────╮ │ 8 const xitui = xit.xitui; │ │ 9 const wgt = xitui.widget; │ │10 const layout = xitui.layout; │ │11 -const inp = xitui.input; │ │11 +const Key = xitui.input.Key; │ │12 const Grid = xitui.grid.Grid; │ │13 const Focus = xitui.focus.Focus; │ │14 const bcrypt = std.crypto.pwhash.bcrypt;│ ╰────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │131 try self.center.build(allocator, constraint, root_focus); │ │132 } │ │133 │ │134 - pub fn input(self: *View, allocator: std.mem.Allocator, key: inp.Key, root_focus: *Focus) !void {│ │134 + pub fn input(self: *View, allocator: std.mem.Allocator, key: Key, root_focus: *Focus) !void { │ │135 const box = &self.center.child.box; │ │136 const child_id = box.focus.child_id orelse return; │ │137 const current = self.indexOf(child_id) orelse return; │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ─────────────╮ │src/ui/Auth/Logout.zig│ ╰──────────────────────╯ ╭────────────────────────────────────╮ │ 4 const xitui = xit.xitui; │ │ 5 const wgt = xitui.widget; │ │ 6 const layout = xitui.layout; │ │ 7 -const inp = xitui.input; │ │ 7 +const Key = xitui.input.Key; │ │ 8 const Grid = xitui.grid.Grid; │ │ 9 const Focus = xitui.focus.Focus;│ │10 │ ╰────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │81 try self.center.build(allocator, constraint, root_focus); │ │82 } │ │83 │ │84 - pub fn input(self: *View, allocator: std.mem.Allocator, key: inp.Key, root_focus: *Focus) !void {│ │84 + pub fn input(self: *View, allocator: std.mem.Allocator, key: Key, root_focus: *Focus) !void { │ │85 _ = allocator; │ │86 switch (key) { │ │87 .enter => { │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ─────────╮ │src/ui/AuthTab.zig│ ╰──────────────────╯ ╭────────────────────────────────────╮ │ 4 const xitui = xit.xitui; │ │ 5 const wgt = xitui.widget; │ │ 6 const layout = xitui.layout; │ │ 7 -const inp = xitui.input; │ │ 7 +const Key = xitui.input.Key; │ │ 8 const Grid = xitui.grid.Grid; │ │ 9 const Focus = xitui.focus.Focus;│ │10 │ ╰────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │46 try self.text_box.build(allocator, constraint, root_focus); │ │47 } │ │48 │ │49 - pub fn input(self: *View, allocator: std.mem.Allocator, key: inp.Key, root_focus: *Focus) !void {│ │49 + pub fn input(self: *View, allocator: std.mem.Allocator, key: Key, root_focus: *Focus) !void { │ │50 try self.text_box.input(allocator, key, root_focus); │ │51 } │ │52 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────╮ │next →│ ╰──────╯