zygo

ncurses gopher client
Log | Files | Refs

commit 6d39d804fce0ce3df95dbf1e42d440d6de69c91d
parent 5a001b2af6acad2469b345ae34977a8d56613936
Author: hhvn <dev@hhvn.uk>
Date:   Sun, 17 Jul 2022 17:08:42 +0100

Forgot to make BIND_UP configurable

Diffstat:
M.config.hhvn.h | 1+
Mconfig.def.h | 1+
Mzygo.c | 2+-
3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.config.hhvn.h b/.config.hhvn.h @@ -28,6 +28,7 @@ enum Bindings { BIND_APPEND = 'a', BIND_YANK = 'y', BIND_DOWN = 'j', + BIND_UP = 'k', BIND_QUIT = 'q', BIND_BACK = 'H', BIND_RELOAD = '*', diff --git a/config.def.h b/config.def.h @@ -35,6 +35,7 @@ enum Bindings { BIND_APPEND = 'a', BIND_YANK = 'y', BIND_DOWN = 'j', + BIND_UP = 'k', BIND_QUIT = 'q', BIND_BACK = '<', BIND_RELOAD = '*', diff --git a/zygo.c b/zygo.c @@ -1032,7 +1032,7 @@ submit: pagescroll((int)(LINES / 2)); break; case KEY_UP: - case 'k': + case BIND_UP: pagescroll(-1); break; case 21: /* ^U */