From 2a7a82dceeb103230a3e39bff3cb2e28b25c3c3f Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Fri, 15 Nov 2019 11:45:39 -0800 Subject: setup: fix width of index column --- src/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/setup.c b/src/setup.c index 6c4a87f..41e9b12 100644 --- a/src/setup.c +++ b/src/setup.c @@ -57,7 +57,7 @@ int setup_interactively(settings_t *settings, int (*setup_func)(settings_t *sett for (i = 0; next->values[i]; i++) { if (!defaults) - printf(" %u: %*s%s%s\n", i, width, next->values[i], + printf("%2u: %*s%s%s\n", i, width, next->values[i], next->annotations ? ": " : "", next->annotations ? next->annotations[i] : ""); -- cgit v1.2.1