summaryrefslogtreecommitdiff
path: root/scripts/kconfig/lxdialog/dialog.h
diff options
context:
space:
mode:
authorBenjamin Poirier <bpoirier@suse.de>2012-08-23 22:55:04 +0400
committerMichal Marek <mmarek@suse.cz>2012-09-27 20:08:14 +0400
commit537ddae75c0f41343928d39f308f3ca670f000a8 (patch)
tree623517db039bdc4d5b49bfb83ef8647428421ad2 /scripts/kconfig/lxdialog/dialog.h
parentb9d29abd98a2bbeb3a6c49c1607348c92bc80105 (diff)
downloadlinux-537ddae75c0f41343928d39f308f3ca670f000a8.tar.xz
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);
int dialog_yesno(const char *title, const char *prompt, int height, int width);
int dialog_msgbox(const char *title, const char *prompt, int height,
int width, int pause);
-int dialog_textbox(const char *title, const char *file, int height, int width);
+int dialog_textbox(const char *title, const char *file, int height, int width,
+ int *keys);
int dialog_menu(const char *title, const char *prompt,
const void *selected, int *s_scroll);
int dialog_checklist(const char *title, const char *prompt, int height,