mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-08 01:10:23 +00:00
[paint] yank newline handling #2464
This commit is contained in:
parent
4106a2888a
commit
a7ea84ea7d
@ -299,12 +299,6 @@ paint(ncplane* p, struct crender* rvec, int dstleny, int dstlenx,
|
||||
if(nccell_wide_right_p(targc)){
|
||||
continue;
|
||||
}
|
||||
// if we encounter a newline (always a bare linefeed; Windows CRLF
|
||||
// translation only matters for text stdio), we're done with this
|
||||
// line *for this plane*.
|
||||
if(targc->gcluster == '\n'){
|
||||
break;
|
||||
}
|
||||
|
||||
if(nccell_fg_alpha(targc) > NCALPHA_OPAQUE){
|
||||
const nccell* vis = &p->fb[nfbcellidx(p, y, x)];
|
||||
|
Loading…
Reference in New Issue
Block a user