linux-yocto/scripts/kconfig
Yann E. MORIN 10e8ce719b 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:26:02 +02:00
..
lxdialog kconfig: lxdialog: fix 'space' to (de)select options 2025-08-28 16:26:02 +02:00
tests kconfig: change "modules" from sub-option to first-level attribute 2021-04-14 15:22:49 +09:00
.gitignore kconfig: refactor .gitignore 2021-04-26 02:17:39 +09:00
conf.c kconfig: WERROR unmet symbol dependency 2025-02-21 13:49:24 +01:00
confdata.c kconfig: WERROR unmet symbol dependency 2025-02-21 13:49:24 +01:00
expr.c kconfig: remove wrong expr_trans_bool() 2024-07-25 09:49:11 +02:00
expr.h kconfig: remove wrong expr_trans_bool() 2024-07-25 09:49:11 +02:00
gconf-cfg.sh kbuild: Allow kernel installation packaging to override pkg-config 2022-04-05 17:03:31 +09:00
gconf.c kconfig: gconf: fix potential memory leak in renderer_edited() 2025-08-28 16:26:02 +02:00
gconf.glade
images.c kconfig: constify XPM data 2020-08-14 13:30:03 +09:00
images.h kconfig: constify XPM data 2020-08-14 13:30:03 +09:00
internal.h kconfig: split menu.c out of parser.y 2021-04-14 15:26:09 +09:00
lexer.l kconfig: fix infinite loop when expanding a macro at the end of file 2024-03-26 18:20:58 -04:00
list.h
lkc_proto.h kconfig: WERROR unmet symbol dependency 2025-02-21 13:49:24 +01:00
lkc.h Kconfig: remove sym_set_choice_value 2022-09-29 04:40:15 +09:00
Makefile kconfig: Add make mod2noconfig to disable module options 2021-12-02 17:02:36 +09:00
mconf-cfg.sh kbuild: Allow kernel installation packaging to override pkg-config 2022-04-05 17:03:31 +09:00
mconf.c kconfig: mconf,nconf: remove unneeded '\0' termination after snprintf() 2021-04-14 15:22:49 +09:00
menu.c kconfig: remove wrong expr_trans_bool() 2024-07-25 09:49:11 +02:00
merge_config.sh kconfig: merge_config: use an empty file as initfile 2025-06-04 14:40:02 +02:00
nconf-cfg.sh kbuild: Allow kernel installation packaging to override pkg-config 2022-04-05 17:03:31 +09:00
nconf.c kconfig: nconf: Ensure null termination where strncpy is used 2025-08-28 16:26:02 +02:00
nconf.gui.c kconfig: nconf: Ensure null termination where strncpy is used 2025-08-28 16:26:02 +02:00
nconf.h kconfig: nconf: refactor in print_in_middle() 2021-04-14 15:25:43 +09:00
parser.y kconfig: split menu.c out of parser.y 2021-04-14 15:26:09 +09:00
preprocess.c kconfig: fix possible buffer overflow 2023-09-19 12:27:59 +02:00
qconf-cfg.sh kconfig: Qt5: tell the user which packages are required 2022-07-27 21:18:00 +09:00
qconf.cc kconfig: qconf: fix ConfigList::updateListAllforAll() 2025-08-15 12:05:08 +02:00
qconf.h kconfig: qconf: remove Y, M, N columns 2020-09-25 00:37:13 +09:00
streamline_config.pl streamline_config.pl: show the full Kconfig name 2021-12-02 17:02:36 +09:00
symbol.c kconfig: fix memory leak in sym_warn_unmet_dep() 2025-02-21 13:49:24 +01:00
util.c