From 956c43759556a4e7ff7575a7b78481444a590ac2 Mon Sep 17 00:00:00 2001 From: Jonathan Neidel Date: Wed, 25 Jun 2025 21:57:11 +0200 Subject: [PATCH] Make image selection scrollable with j/k --- epr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epr.py b/epr.py index a13017f..9c0883c 100755 --- a/epr.py +++ b/epr.py @@ -1040,9 +1040,9 @@ def reader(stdscr, ebook, index, width, y, pctg): stdscr.refresh() curses.curs_set(1) p = pad.getch() - if p in SCROLL_DOWN: + if p in SCROLL_DOWN or p in SCROLL_DOWN_J: i += 1 - elif p in SCROLL_UP: + elif p in SCROLL_UP or p in SCROLL_UP_K: i -= 1 i = i % len(gambar)