From a7ea84ea7d0d5b2b8c16b3709d964dc5debb51be Mon Sep 17 00:00:00 2001 From: nick black Date: Sun, 12 Dec 2021 10:16:29 -0500 Subject: [PATCH] [paint] yank newline handling #2464 --- src/lib/render.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib/render.c b/src/lib/render.c index 54534edcf..906de6dcd 100644 --- a/src/lib/render.c +++ b/src/lib/render.c @@ -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)];