kconfig/lxdialog: let <ESC><ESC> behave as expected
authorSam Ravnborg <sam@mars.ravnborg.org>
Fri, 28 Jul 2006 21:57:48 +0000 (23:57 +0200)
committerSam Ravnborg <sam@neptun.ravnborg.org>
Sat, 30 Sep 2006 09:19:20 +0000 (11:19 +0200)
commitf3cbcdc955d0d2c8b4c52d6b73fc536b01b68c64
tree3619243852b54799123f0fead031b8b45abf7aca
parent2982de6993e6d9944f2215d7cb9b558b465a0c99
kconfig/lxdialog: let <ESC><ESC> behave as expected

<ESC><ESC> is used to step one back in the dialogs.
When lxdialog became built-in pressing <ESC> once would cause one step back
and pressing <ESC><ESC> would cause two steps back.
This patch - based on concept from Roman Zippel <zippel@linux-m68k.org> -
makes one <ESC> a noop and pressing <ESC><ESC> will cause one step backward.

In addition the final yes/no dialog now has the option to go back to the
the kernel configuration. So if you get too far out you can now go back
to configuring the kernel without saving and starting all over again.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/kconfig/lxdialog/checklist.c
scripts/kconfig/lxdialog/dialog.h
scripts/kconfig/lxdialog/inputbox.c
scripts/kconfig/lxdialog/menubox.c
scripts/kconfig/lxdialog/textbox.c
scripts/kconfig/lxdialog/util.c
scripts/kconfig/lxdialog/yesno.c
scripts/kconfig/mconf.c