firstboot: Make the option list fit 80 columns

22 characters in three colums + overhead slightly exceeds the available
width on terminals with 80 columns, causing each row to wrap to two lines.
Reduce the item width to 20 to fit even the list of ~600 timezones.
This commit is contained in:
Fabian Vogt
2024-07-02 16:15:50 +02:00
committed by Lennart Poettering
parent fc31d929c7
commit 355fbedf1f

View File

@@ -215,7 +215,7 @@ static int prompt_loop(const char *text, char **l, unsigned percentage, bool (*i
}
if (streq(p, "list")) {
r = show_menu(l, 3, 22, percentage);
r = show_menu(l, 3, 20, percentage);
if (r < 0)
return r;