kconfig: nconf: Add search jump feature
authorJesse Taube <mr.bossman075@gmail.com>
Wed, 9 Aug 2023 00:42:20 +0000 (20:42 -0400)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 13 Aug 2023 12:29:41 +0000 (21:29 +0900)
commit1ba67cd3281e50a965c5b519f946b14a1c4620a7
treef7bf4f8f939416d93e60f44714bf3cc5405f266e
parent01e89a4acefc9d8356e91dde310da11e5b97d22d
kconfig: nconf: Add search jump feature

Menuconfig has a feature where you can "press the key in the (#) prefix
to jump directly to that location. You will be returned to the current
search results after exiting this new menu."

This commit adds this feature to nconfig, with almost identical code.

Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/nconf.c
scripts/kconfig/nconf.gui.c
scripts/kconfig/nconf.h