aboutsummaryrefslogtreecommitdiffstats
path: root/src/keys.c
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2017-08-30 16:24:04 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2017-08-30 16:26:10 +0200
commit8544e4a57016e370a25bb7038cc3ef11c81eb9c3 (patch)
tree1ff531030d1046b379d943e401afa39749e45782 /src/keys.c
parent273e32d43d72086ed9b0eeae9e83b2689b0f6154 (diff)
downloadcalcurse-8544e4a57016e370a25bb7038cc3ef11c81eb9c3.tar.gz
calcurse-8544e4a57016e370a25bb7038cc3ef11c81eb9c3.zip
Rename keys_getch() to keys_get()
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/keys.c')
-rw-r--r--src/keys.c4
1 files changed, 2 insertions, 2 deletions
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