From 355fbedf1f7a19b00f2802ececd9771aafae6232 Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Tue, 2 Jul 2024 16:15:50 +0200 Subject: [PATCH] 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. --- src/firstboot/firstboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c index 6afabef4307..92b0289859a 100644 --- a/src/firstboot/firstboot.c +++ b/src/firstboot/firstboot.c @@ -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; -- 2.47.3