diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-07-16 13:55:07 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-07-25 00:59:32 +0900 |
commit | e14f1242a8be413846360b295102abd4c62848ad (patch) | |
tree | 65973a8357a893e797eb94d70e302988a6bcd7a4 /scripts/kallsyms.c | |
parent | 481461f5109919babbb393d6f68002936b8e2493 (diff) | |
download | linux-e14f1242a8be413846360b295102abd4c62848ad.tar.gz linux-e14f1242a8be413846360b295102abd4c62848ad.tar.bz2 linux-e14f1242a8be413846360b295102abd4c62848ad.zip |
kconfig: menuconfig: simplify global jump key assignment
Commit 95ac9b3b585d ("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>
Diffstat (limited to 'scripts/kallsyms.c')
0 files changed, 0 insertions, 0 deletions