ui/ncurses: Add language selector & support for language changes
[petitboot] / ui / ncurses / nc-menu.c
index a77ea98ec87af303b99de9ae5959309e47cea049..666b78bbfee23d5bd7688958adc828eeda62b3d1 100644 (file)
@@ -409,6 +409,9 @@ static void pmenu_process_key(struct nc_scr *scr, int key)
        case 'c':
                cui_show_config(cui_from_arg(scr->ui_ctx));
                break;
+       case 'l':
+               cui_show_lang(cui_from_arg(scr->ui_ctx));
+               break;
        case KEY_F(1):
        case 'h':
                if (menu->help_text)