╭ changed ────────────╮ │src/ui/Repo/Files.zig│ ╰─────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────╮ │845 // terminal scrolls by offset (the wheel five rows at a time) and reaching│ │846 // the top then pressing up crosses back up to the link; on the web │ │847 // vertical scrolling is the browser's job so up just crosses to the link.│ │848 - const step: isize = if (key == .mouse) 5 else 1; │ │848 + const step: isize = switch (key) { │ │849 + .scroll_up, .scroll_down => 5, │ │850 + else => 1, │ │851 + }; │ │852 switch (inp.vertDirection(key)) { │ │853 .up => { │ │854 if (!on_content) return; │ ╰───────────────────────────────────────────────────────────────────────────────────────╯