mconf: handle keys in empty dialogs
authorDirk Gouders <dirk@gouders.net>
Sun, 19 May 2013 19:48:44 +0000 (21:48 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Wed, 29 May 2013 22:13:32 +0000 (00:13 +0200)
commit063f4661fde8c03c4c03f8a205071a52691c152e
tree59bb40ca59243d85c9ce2710bfb8b968e43b097c
parent57a9c7609d7418ce75324df38f66cd7d937a77cb
mconf: handle keys in empty dialogs

When entering an empty dialog, using the movement keys resulted in
unexpected characters beeing displayed, other keys like "z" and "h"
did not work as expected.

This patch handles the movement keys as well as other keys, especially
"z", "h" and "/".

Signed-off-by: Dirk Gouders <dirk@gouders.net>
[yann.morin.1998@free.fr: keep lines <80 chars, so reorder test]
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
scripts/kconfig/lxdialog/menubox.c
scripts/kconfig/mconf.c