diff options
author | nicm <nicm> | 2020-12-07 09:23:57 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-12-07 09:23:57 +0000 |
commit | ed786309ccc7ceb2077f658e689a5f35549bb2bc (patch) | |
tree | 454d09e0eeb1941968d116b2326adc37ef75337c /screen-write.c | |
parent | fd451aa7962f399250fd166f207451fcf4b9cb94 (diff) | |
download | rtmux-ed786309ccc7ceb2077f658e689a5f35549bb2bc.tar.gz rtmux-ed786309ccc7ceb2077f658e689a5f35549bb2bc.tar.bz2 rtmux-ed786309ccc7ceb2077f658e689a5f35549bb2bc.zip |
Do not clear the wrapped flag on linefeeds if it is already set - this
does not appear to be what applications want. GitHub issue 2478 and 2414.
Diffstat (limited to 'screen-write.c')
-rw-r--r-- | screen-write.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/screen-write.c b/screen-write.c index ab6a020c..92f1aa39 100644 --- a/screen-write.c +++ b/screen-write.c @@ -1240,8 +1240,6 @@ screen_write_linefeed(struct screen_write_ctx *ctx, int wrapped, u_int bg) gl = grid_get_line(gd, gd->hsize + s->cy); if (wrapped) gl->flags |= GRID_LINE_WRAPPED; - else - gl->flags &= ~GRID_LINE_WRAPPED; log_debug("%s: at %u,%u (region %u-%u)", __func__, s->cx, s->cy, s->rupper, s->rlower); |