mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
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:
committed by
Lennart Poettering
parent
fc31d929c7
commit
355fbedf1f
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user