From 8544e4a57016e370a25bb7038cc3ef11c81eb9c3 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 30 Aug 2017 16:24:04 +0200 Subject: Rename keys_getch() to keys_get() Signed-off-by: Lukas Fleischer --- src/keys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/keys.c') diff --git a/src/keys.c b/src/keys.c index c23a741..e71a2c4 100644 --- a/src/keys.c +++ b/src/keys.c @@ -187,7 +187,7 @@ enum key keys_get_action(int pressed) return actions[pressed]; } -enum key keys_getch(WINDOW * win, int *count, int *reg) +enum key keys_get(WINDOW *win, int *count, int *reg) { int ch = '0'; @@ -582,7 +582,7 @@ void keys_popup_info(enum key key) infowin = popup(WINROW, WINCOL, (row - WINROW) / 2, (col - WINCOL) / 2, keydef[key].label, info[key], 1); - keys_getch(infowin, NULL, NULL); + keys_get(infowin, NULL, NULL); delwin(infowin); #undef WINROW #undef WINCOL -- cgit v1.2.3-54-g00ecf