Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kconfig: nconf: Use TAB to cycle thru dialog buttons

Add the ability to cycle through dialog buttons with the TAB key.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

authored by

Thorsten Blum and committed by
Masahiro Yamada
4da0f0d0 93096d7d

+9
+9
scripts/kconfig/nconf.gui.c
··· 277 277 case KEY_RIGHT: 278 278 menu_driver(menu, REQ_RIGHT_ITEM); 279 279 break; 280 + case 9: /* TAB */ 281 + if (btn_num > 1) { 282 + /* cycle through buttons */ 283 + if (item_index(current_item(menu)) == btn_num - 1) 284 + menu_driver(menu, REQ_FIRST_ITEM); 285 + else 286 + menu_driver(menu, REQ_NEXT_ITEM); 287 + } 288 + break; 280 289 case 10: /* ENTER */ 281 290 case 27: /* ESCAPE */ 282 291 case ' ':