diff options
-rw-r--r-- | main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -342,8 +342,10 @@ int main(int argc, char **argv) { ncplane_box_sized(stars, &box[0], &box[1], &box[2], &box[3], &box[4], &box[5], STARBOX_HEIGHT, STARBOX_WIDTH, NCBOXGRAD_TOP | NCBOXGRAD_LEFT | NCBOXGRAD_RIGHT | NCBOXGRAD_BOTTOM); - if (color.set) + if (color.set) { + ncplane_set_fg_rgb8(stars, color.r, color.g, color.b); ncplane_set_fg_rgb8(info_box, color.r, color.g, color.b); + } ncplane_on_styles(info_box, NCSTYLE_BOLD); if (constellation->name[0]) { ncplane_putstr_aligned(stars, 0, NCALIGN_CENTER, constellation->display_name[0]); |