From 0877973b1067fb1379c3f72e311d479310846eb3 Mon Sep 17 00:00:00 2001 From: nick black Date: Tue, 16 Nov 2021 23:32:00 -0500 Subject: [PATCH] [ncneofetch] tighten up infoplane --- src/fetch/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fetch/main.c b/src/fetch/main.c index e29bb9589..45243dedd 100644 --- a/src/fetch/main.c +++ b/src/fetch/main.c @@ -534,9 +534,9 @@ infoplane_notcurses(struct notcurses* nc, const fetched_info* fi, int planeheigh }else{ ncplane_printf_aligned(infop, 4, NCALIGN_LEFT, " TERM: %s", fi->term); } - ncplane_printf_aligned(infop, 4, NCALIGN_RIGHT, " LANG: %s", fi->lang); + ncplane_printf_aligned(infop, 4, NCALIGN_RIGHT, " LANG: %s ", fi->lang); ncplane_set_styles(infop, NCSTYLE_ITALIC | NCSTYLE_BOLD); - ncplane_printf_aligned(infop, 6, NCALIGN_CENTER, "%s (%d cores)", + ncplane_printf_aligned(infop, 5, NCALIGN_CENTER, "%s (%d cores)", fi->cpu_model ? fi->cpu_model : fallback_cpuinfo(), fi->core_count); nccell ul = CELL_TRIVIAL_INITIALIZER, ur = CELL_TRIVIAL_INITIALIZER; @@ -579,7 +579,7 @@ infoplane_notcurses(struct notcurses* nc, const fetched_info* fi, int planeheigh static int infoplane(struct notcurses* nc, const fetched_info* fi){ - const int planeheight = 8; + const int planeheight = 7; int r = infoplane_notcurses(nc, fi, planeheight); r |= notcurses_stop(nc); return r;