[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250621084124.7134-1-dungeonlords789@naver.com>
Date: Sat, 21 Jun 2025 17:41:24 +0900
From: Cherniaev Andrei <dungeonlords789@...er.com>
To: linux-kbuild@...r.kernel.org
Cc: masahiroy@...nel.org,
yann.morin.1998@...e.fr,
linux-kernel@...r.kernel.org,
Cherniaev Andrei <dungeonlords789@...er.com>
Subject: [PATCH 1/1] kconfig: fix 'space' to (de)select options
Fix that by treating 'space' as we treat y/m/n, ie. as an action key, not as shortcut to jump to prompt. This is copy of commit https://gitlab.com/buildroot.org/buildroot/-/raw/master/support/kconfig/patches/16-fix-space-to-de-select-options.patch
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@...e.fr>
Signed-off-by: Cherniaev Andrei <dungeonlords789@...er.com>
---
scripts/kconfig/lxdialog/menubox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/kconfig/lxdialog/menubox.c b/scripts/kconfig/lxdialog/menubox.c
index 6e6244df0c56..d4c19b7beebb 100644
--- a/scripts/kconfig/lxdialog/menubox.c
+++ b/scripts/kconfig/lxdialog/menubox.c
@@ -264,7 +264,7 @@ int dialog_menu(const char *title, const char *prompt,
if (key < 256 && isalpha(key))
key = tolower(key);
- if (strchr("ynmh", key))
+ if (strchr("ynmh ", key))
i = max_choice;
else {
for (i = choice + 1; i < max_choice; i++) {
--
2.48.1
Powered by blists - more mailing lists