aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/lxdialog/dialog.h
diff options
context:
space:
mode:
authorBenjamin Poirier <bpoirier@suse.de>2012-08-23 14:55:04 -0400
committerMichal Marek <mmarek@suse.cz>2012-09-27 12:08:14 -0400
commit537ddae75c0f41343928d39f308f3ca670f000a8 (patch)
tree623517db039bdc4d5b49bfb83ef8647428421ad2 /scripts/kconfig/lxdialog/dialog.h
parentb9d29abd98a2bbeb3a6c49c1607348c92bc80105 (diff)
menuconfig: Extend dialog_textbox so that it can exit on arbitrary keypresses
The caller will be able to perform actions based on hotkeys in the displayed text. Signed-off-by: Benjamin Poirier <bpoirier@suse.de> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/lxdialog/dialog.h')
-rw-r--r--scripts/kconfig/lxdialog/dialog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/kconfig/lxdialog/dialog.h b/scripts/kconfig/lxdialog/dialog.h
index 43a58ec09cd4..35ca0286d105 100644
--- a/scripts/kconfig/lxdialog/dialog.h
+++ b/scripts/kconfig/lxdialog/dialog.h
@@ -210,7 +210,8 @@ int first_alpha(const char *string, const char *exempt);
210int dialog_yesno(const char *title, const char *prompt, int height, int width); 210int dialog_yesno(const char *title, const char *prompt, int height, int width);
211int dialog_msgbox(const char *title, const char *prompt, int height, 211int dialog_msgbox(const char *title, const char *prompt, int height,
212 int width, int pause); 212 int width, int pause);
213int dialog_textbox(const char *title, const char *file, int height, int width); 213int dialog_textbox(const char *title, const char *file, int height, int width,
214 int *keys);
214int dialog_menu(const char *title, const char *prompt, 215int dialog_menu(const char *title, const char *prompt,
215 const void *selected, int *s_scroll); 216 const void *selected, int *s_scroll);
216int dialog_checklist(const char *title, const char *prompt, int height, 217int dialog_checklist(const char *title, const char *prompt, int height,