linux-yocto/scripts/kconfig
Yann E. MORIN 33f423bddb 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-20 18:30:48 +02:00
..
lxdialog kconfig: lxdialog: fix 'space' to (de)select options 2025-08-20 18:30:48 +02:00
tests
.gitignore
conf.c
confdata.c kconfig: do not clear SYMBOL_VALID when reading include/config/auto.conf 2025-05-29 11:02:17 +02:00
expr.c kconfig: clear expr::val_is_valid when allocated 2024-10-01 17:05:30 +09:00
expr.h kconfig: cache expression values 2024-09-20 09:21:53 +09:00
gconf-cfg.sh
gconf.c kconfig: gconf: fix potential memory leak in renderer_edited() 2025-08-20 18:30:48 +02:00
gconf.glade
images.c
images.h
internal.h kconfig: cache expression values 2024-09-20 09:21:53 +09:00
lexer.l kbuild: split x*alloc() functions in kconfig to scripts/include/xalloc.h 2024-09-01 20:34:48 +09:00
lkc_proto.h
lkc.h scripts: move hash function from scripts/kconfig/ to scripts/include/ 2024-09-20 09:21:52 +09:00
Makefile kbuild: suppress stdout from merge_config for silent builds 2025-02-21 14:01:27 +01:00
mconf-cfg.sh
mconf.c kbuild: split x*alloc() functions in kconfig to scripts/include/xalloc.h 2024-09-01 20:34:48 +09:00
menu.c kconfig: show sub-menu entries even if the prompt is hidden 2024-10-31 21:42:20 +09:00
merge_config.sh kconfig: merge_config: use an empty file as initfile 2025-05-29 11:02:02 +02:00
mnconf-common.c
mnconf-common.h
nconf-cfg.sh
nconf.c kconfig: nconf: Ensure null termination where strncpy is used 2025-08-20 18:30:47 +02:00
nconf.gui.c kconfig: nconf: Ensure null termination where strncpy is used 2025-08-20 18:30:47 +02:00
nconf.h
parser.y kconfig: fix infinite loop in sym_calc_choice() 2024-09-30 20:42:52 +09:00
preprocess.c kbuild: split x*alloc() functions in kconfig to scripts/include/xalloc.h 2024-09-01 20:34:48 +09:00
preprocess.h
qconf-cfg.sh
qconf.cc kconfig: qconf: fix ConfigList::updateListAllforAll() 2025-08-15 12:14:03 +02:00
qconf.h
streamline_config.pl
symbol.c kconfig: fix memory leak in sym_warn_unmet_dep() 2025-02-08 09:58:11 +01:00
util.c scripts: move hash function from scripts/kconfig/ to scripts/include/ 2024-09-20 09:21:52 +09:00