╭ changed ─╮ │src/ui.zig│ ╰──────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │104 │ │105 pub fn inputKey(allocator: std.mem.Allocator, root: *Widget, key: inp.Key, terminal: anytype) !void { │ │106 switch (key) { │ │107 - .codepoint => |cp| if (cp == 'q') terminal.requestQuit() else try root.input(allocator, key, root.getFocus()),│ │107 + .escape => terminal.requestQuit(), │ │108 .mouse => |mouse| { │ │109 if (mouse.action == .press and mouse.action.press == .left) { │ │110 const root_focus = root.getFocus(); │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯