diff options
Diffstat (limited to 'src/ui/inputwin.h')
-rw-r--r-- | src/ui/inputwin.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/ui/inputwin.h b/src/ui/inputwin.h index 39fde720..91cbb0b2 100644 --- a/src/ui/inputwin.h +++ b/src/ui/inputwin.h @@ -35,15 +35,17 @@ #ifndef UI_INPUTWIN_H #define UI_INPUTWIN_H +#include <glib.h> + +#define INP_WIN_MAX 1000 + void create_input_window(void); -char* inp_read(int *key_type, wint_t *ch); -void inp_win_reset(void); +char* inp_readline(void); +void inp_nonblocking(gboolean reset); +void inp_close(void); +void inp_win_clear(void); void inp_win_resize(void); void inp_put_back(void); -void inp_non_block(gint); -void inp_block(void); -void inp_get_password(char *passwd); -void inp_replace_input(const char * const new_input); -void inp_history_append(char *inp); +char* inp_get_password(void); #endif |