From 77e8697be9437c7c522cb2af3b2f8f8be64ea136 Mon Sep 17 00:00:00 2001 From: nick black Date: Mon, 12 Apr 2021 08:04:17 -0400 Subject: [PATCH] get a richer blue in banner RGB --- src/lib/notcurses.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/notcurses.c b/src/lib/notcurses.c index 6487fc3e8..37a72d630 100644 --- a/src/lib/notcurses.c +++ b/src/lib/notcurses.c @@ -811,13 +811,14 @@ init_banner(const notcurses* nc, const char* shortname_term){ putc('R', stdout); term_fg_rgb8(true, nc->tcache.setaf, nc->tcache.colors, stdout, 0x60, 0xe0, 0x60); putc('G', stdout); - term_fg_rgb8(true, nc->tcache.setaf, nc->tcache.colors, stdout, 0x60, 0x60, 0xe0); + term_fg_rgb8(true, nc->tcache.setaf, nc->tcache.colors, stdout, 0x20, 0x80, 0xff); putc('B', stdout); term_fg_palindex(nc, stdout, nc->tcache.colors <= 256 ? 12 % nc->tcache.colors : 0x2080e0); } - printf("\n compiled with gcc-%s, %s-endian %zuB cells\n" + printf("\n compiled with gcc-%s, %zuB %s-endian cells\n" " terminfo from %s\n", __VERSION__, + sizeof(nccell), #ifdef __BYTE_ORDER__ #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ "little" @@ -827,7 +828,7 @@ init_banner(const notcurses* nc, const char* shortname_term){ #else #error "No __BYTE_ORDER__ definition" #endif - , sizeof(nccell), curses_version()); + , curses_version()); ncvisual_printbanner(nc); fflush(stdout); init_banner_warnings(nc, stderr);