diff --git a/src/info/main.c b/src/info/main.c index 91ce6186f..36fe13249 100644 --- a/src/info/main.c +++ b/src/info/main.c @@ -153,6 +153,9 @@ emoji_viz(struct ncplane* n){ while(x++ < 80){ ncplane_putchar(n, ' '); } + if(ncplane_dim_x(n) > 80){ + ncplane_putchar(n, '\n'); + } return 0; } @@ -327,8 +330,7 @@ unicodedumper(struct ncplane* n, const char* indent){ uint64_t lr = NCCHANNELS_INITIALIZER(0xff, 0xff, 0xff, 0xdB, 0x18, 0x8E); uint64_t ul = NCCHANNELS_INITIALIZER(0xff, 0xff, 0xff, 0x19, 0x19, 0x70); uint64_t ll = NCCHANNELS_INITIALIZER(0xff, 0xff, 0xff, 0x19, 0x19, 0x70); - ncplane_cursor_move_yx(n, y - 15, 0); - ncplane_stain(n, -1, -1, 15, 80, ul, ur, ll, lr); + ncplane_stain(n, y - 16, 0, 16, 80, ul, ur, ll, lr); ncplane_set_styles(n, NCSTYLE_BOLD | NCSTYLE_ITALIC); ncplane_cursor_move_yx(n, y - 12, 54); wviz(n, L"🯁🯂🯃https://notcurses.com");