Rename keys_getch() to keys_get()

Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
Lukas Fleischer
2017-08-30 16:24:04 +02:00
parent 273e32d43d
commit 8544e4a570
5 changed files with 29 additions and 34 deletions

View File

@@ -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