diff options
author | Benjamin Poirier <bpoirier@suse.de> | 2012-08-23 20:55:04 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2012-09-27 18:08:14 +0200 |
commit | 537ddae75c0f41343928d39f308f3ca670f000a8 (patch) | |
tree | 623517db039bdc4d5b49bfb83ef8647428421ad2 /scripts/kconfig/lxdialog/dialog.h | |
parent | menuconfig: Remove superfluous conditionnal (diff) | |
download | linux-537ddae75c0f41343928d39f308f3ca670f000a8.tar.xz linux-537ddae75c0f41343928d39f308f3ca670f000a8.zip |
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); 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, |