linux/scripts/kconfig/lxdialog
Masahiro Yamada e14f1242a8 kconfig: menuconfig: simplify global jump key assignment
Commit 95ac9b3b58 ("menuconfig: Assign jump keys per-page instead
of globally") injected a lot of hacks to the bottom of the textbox
infrastructure.

I reverted many of them without changing the behavior. (almost)
Now, the key markers are inserted when constructing the search result
instead of updating the text buffer on-the-fly.

The buffer passed to the textbox got back to a constant string.
The ugly casts from (const char *) to (char *) went away.

A disadvantage is that the same key numbers might be displayed multiple
times in the dialog if you use a huge window (but I believe it is
unlikely to happen).

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Jesse Taube <Mr.Bossman075@gmail.com>
2023-07-25 00:59:32 +09:00
..
BIG.FAT.WARNING kconfig: remove trailing whitespaces 2019-05-09 22:37:17 +09:00
checklist.c kconfig: convert to SPDX License Identifier 2018-12-28 22:22:28 +09:00
dialog.h kconfig: menuconfig: simplify global jump key assignment 2023-07-25 00:59:32 +09:00
inputbox.c kconfig/[mn]conf: handle backspace (^H) key 2019-03-29 22:48:01 +09:00
menubox.c kconfig: menuconfig: remove OLD_NCURSES macro 2023-04-17 11:03:56 +09:00
textbox.c kconfig: menuconfig: simplify global jump key assignment 2023-07-25 00:59:32 +09:00
util.c kconfig: lxdialog: A spello fix and a punctuation added 2021-04-14 15:22:49 +09:00
yesno.c kconfig: convert to SPDX License Identifier 2018-12-28 22:22:28 +09:00