linux-yocto/scripts/kconfig
Yann E. MORIN a12feec53c kconfig: lxdialog: fix 'space' to (de)select options
[ Upstream commit 694174f94e ]

In case a menu has comment without letters/numbers (eg. characters
matching the regexp '^[^[:alpha:][:digit:]]+$', for example - or *),
hitting space will cycle through those comments, rather than
selecting/deselecting the currently-highlighted option.

This is the behaviour of hitting any letter/digit: jump to the next
option which prompt starts with that letter. The only letters that
do not behave as such are 'y' 'm' and 'n'. Prompts that start with
one of those three letters are instead matched on the first letter
that is not 'y', 'm' or 'n'.

Fix that by treating 'space' as we treat y/m/n, ie. as an action key,
not as shortcut to jump to  prompt.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Cherniaev Andrei <dungeonlords789@naver.com>
[masahiro: took from Buildroot, adjusted the commit subject]
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-28 16:24:25 +02:00
..
lxdialog kconfig: lxdialog: fix 'space' to (de)select options 2025-08-28 16:24:25 +02:00
tests
.gitignore
conf.c kconfig: WERROR unmet symbol dependency 2025-03-13 12:50:14 +01:00
confdata.c kconfig: WERROR unmet symbol dependency 2025-03-13 12:50:14 +01:00
expr.c kconfig: remove wrong expr_trans_bool() 2024-07-27 10:46:09 +02:00
expr.h kconfig: remove wrong expr_trans_bool() 2024-07-27 10:46:09 +02:00
gconf-cfg.sh
gconf.c kconfig: gconf: fix potential memory leak in renderer_edited() 2025-08-28 16:24:25 +02:00
gconf.glade
images.c
images.h
internal.h
lexer.l kconfig: fix infinite loop when expanding a macro at the end of file 2024-03-26 18:21:34 -04:00
list.h
lkc_proto.h kconfig: WERROR unmet symbol dependency 2025-03-13 12:50:14 +01:00
lkc.h
Makefile
mconf-cfg.sh
mconf.c
menu.c kconfig: remove wrong expr_trans_bool() 2024-07-27 10:46:09 +02:00
merge_config.sh kconfig: merge_config: use an empty file as initfile 2025-06-04 14:37:54 +02:00
nconf-cfg.sh
nconf.c kconfig: nconf: Ensure null termination where strncpy is used 2025-08-28 16:24:25 +02:00
nconf.gui.c kconfig: nconf: Ensure null termination where strncpy is used 2025-08-28 16:24:25 +02:00
nconf.h
parser.y
preprocess.c kconfig: fix possible buffer overflow 2023-09-19 12:22:56 +02:00
qconf-cfg.sh
qconf.cc kconfig: qconf: fix ConfigList::updateListAllforAll() 2025-08-28 16:24:12 +02:00
qconf.h
streamline_config.pl
symbol.c kconfig: fix memory leak in sym_warn_unmet_dep() 2025-03-13 12:50:14 +01:00
util.c