about summary refs log tree commit diff stats
path: root/src/ui/ui.h
diff options
context:
space:
mode:
authorSimon Effenberg <savar@schuldeigen.de>2015-01-08 23:43:11 +0100
committerSimon Effenberg <savar@schuldeigen.de>2015-01-12 08:08:07 +0100
commitc7ff3255b8bd4bed2f825255a4fe28940db533b2 (patch)
tree8e474ace8ff803cd1c932a451d811a99d6a7cec7 /src/ui/ui.h
parent0d0ed9b7ca4b9055fece7ddc4e2430b900cbb355 (diff)
downloadprofani-tty-c7ff3255b8bd4bed2f825255a4fe28940db533b2.tar.gz
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
Diffstat (limited to 'src/ui/ui.h')
-rw-r--r--src/ui/ui.h2
1 files changed, 1 insertions, 1 deletions
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));