From 98651a549f6fc43d96207734fb0f02b240354a4c Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 4 Oct 2011 00:13:09 +0000 Subject: Add count buffer to keys_getch() Key commands can be prefixed with a natural number - keys_getch() will store this number in the buffer pointed to by the second parameter. Set this parameter to NULL to disable count prefixes. Signed-off-by: Lukas Fleischer --- src/calcurse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/calcurse.h') diff --git a/src/calcurse.h b/src/calcurse.h index 047a392..8e06cda 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -712,7 +712,7 @@ void keys_free (void); void keys_dump_defaults (char *); char *keys_get_label (enum key); enum key keys_get_action (int); -enum key keys_getch (WINDOW *win); +enum key keys_getch (WINDOW *win, int *); int keys_assign_binding (int, enum key); void keys_remove_binding (int, enum key); int keys_str2int (char *); -- cgit v1.2.3-54-g00ecf