╭ changed ────────────╮ │src/ui/Auth/Login.zig│ ╰─────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────────────────────────────────╮ │148 // expect; arrow_down does the same. │ │149 .arrow_down, .tab => if (current + 1 < self.nav_ids.len) { │ │150 root_focus.setFocus(self.nav_ids[current + 1]); │ │151 - return; │ │152 - }, │ │153 - // submit on Enter from any nav field — typical "press Enter in│ │154 - // a form to submit" UX │ │155 - .enter => { │ │156 - try self.submit(allocator, root_focus); │ │151 return; │ │152 }, │ │153 else => {}, │ ╰────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────╮ │155 │ │156 if (current == button_index) { │ │157 switch (key) { │ │158 + .enter => { │ │159 + try self.submit(allocator, root_focus); │ │160 + return; │ │161 + }, │ │162 .mouse => |mouse| { │ │163 if (inp.leftClickOn(root_focus, child_id, mouse)) {│ │164 try self.submit(allocator, root_focus); │ ╰────────────────────────────────────────────────────────────────────────────╯