diff options
author | Benjamin Poirier <bpoirier@suse.de> | 2012-08-23 14:55:04 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2012-09-27 12:08:14 -0400 |
commit | 537ddae75c0f41343928d39f308f3ca670f000a8 (patch) | |
tree | 623517db039bdc4d5b49bfb83ef8647428421ad2 /scripts/kconfig/lxdialog/dialog.h | |
parent | b9d29abd98a2bbeb3a6c49c1607348c92bc80105 (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.h | 3 |
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); | |||
210 | int dialog_yesno(const char *title, const char *prompt, int height, int width); | 210 | int dialog_yesno(const char *title, const char *prompt, int height, int width); |
211 | int dialog_msgbox(const char *title, const char *prompt, int height, | 211 | int dialog_msgbox(const char *title, const char *prompt, int height, |
212 | int width, int pause); | 212 | int width, int pause); |
213 | int dialog_textbox(const char *title, const char *file, int height, int width); | 213 | int dialog_textbox(const char *title, const char *file, int height, int width, |
214 | int *keys); | ||
214 | int dialog_menu(const char *title, const char *prompt, | 215 | int dialog_menu(const char *title, const char *prompt, |
215 | const void *selected, int *s_scroll); | 216 | const void *selected, int *s_scroll); |
216 | int dialog_checklist(const char *title, const char *prompt, int height, | 217 | int dialog_checklist(const char *title, const char *prompt, int height, |