mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-06 03:20:26 +00:00
ncplane_putc_yx: set stylemask for wide chars #961
This commit is contained in:
parent
4e0296f222
commit
383c36415d
@ -1335,7 +1335,6 @@ int ncplane_putc_yx(ncplane* n, int y, int x, const cell* c){
|
||||
return -1;
|
||||
}
|
||||
if(c->gcluster == '\n'){
|
||||
fprintf(stderr, "GOT NEWLINE AT %d/%d\n", n->y, n->x);
|
||||
if(n->scrolling){
|
||||
scroll_down(n);
|
||||
return 0;
|
||||
@ -1371,6 +1370,7 @@ fprintf(stderr, "GOT NEWLINE AT %d/%d\n", n->y, n->x);
|
||||
cell_obliterate(n, candidate);
|
||||
cell_set_wide(candidate);
|
||||
candidate->channels = c->channels;
|
||||
candidate->stylemask = n->stylemask;
|
||||
}
|
||||
}
|
||||
n->x += cols;
|
||||
|
Loading…
Reference in New Issue
Block a user