From c7ff3255b8bd4bed2f825255a4fe28940db533b2 Mon Sep 17 00:00:00 2001 From: Simon Effenberg Date: Thu, 8 Jan 2015 23:43:11 +0100 Subject: trying to block (and save cpu power) more dynamically instead of blocking too long if inpblock is set to something like 500ms the input timeout is not set directly to inpblock but is increasing dynamically from 0 to inpblock by a little algorithm FIXME: the call from the win_* method to the ui_input_* method looks wrong.. this causes a cross reference which shouldn't be --- src/ui/ui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/ui.h') diff --git a/src/ui/ui.h b/src/ui/ui.h index 32484b9e..e28914ff 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -232,7 +232,7 @@ void ui_statusbar_new(const int win); wint_t ui_get_char(char *input, int *size, int *result); void ui_input_clear(void); -void ui_input_nonblocking(void); +void ui_input_nonblocking(gboolean); void ui_replace_input(char *input, const char * const new_input, int *size); void ui_invalid_command_usage(const char * const usage, void (*setting_func)(void)); -- cgit 1.4.1-2-gfad0