From 26e8e467e8e4d3e4f4596b9ce50832735cdc4d50 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 25 May 2020 11:59:50 +0000 Subject: [PATCH] Include title for the width of the menu. --- menu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/menu.c b/menu.c index 7f6933c5..16374115 100644 --- a/menu.c +++ b/menu.c @@ -111,6 +111,7 @@ menu_create(const char *title) menu = xcalloc(1, sizeof *menu); menu->title = xstrdup(title); + menu->width = format_width(title); return (menu); }