aboutsummaryrefslogtreecommitdiff
path: root/ui_input.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui_input.h')
-rw-r--r--ui_input.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui_input.h b/ui_input.h
index e65d560..be93864 100644
--- a/ui_input.h
+++ b/ui_input.h
@@ -16,6 +16,7 @@ struct input {
char *prompt;
chtype attrs;
chtype shadow;
+ ui_input_callback cb_input;
};
struct input *
@@ -37,6 +38,9 @@ int
input_cb(WINDOW *win, void *data, bool timed_out);
void
-register_input(WINDOW *win, struct input *a);
+register_input(WINDOW *win, struct input *a, ui_input_callback uin);
+
+void
+unregister_input(struct input *a);
#endif