aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index 1f33800..4669720 100644
--- a/main.c
+++ b/main.c
@@ -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]);