mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-08 01:10:23 +00:00
[info] print newline on last line #2196
This commit is contained in:
parent
8810ec9bb7
commit
30dedad9df
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user