aboutsummaryrefslogtreecommitdiff
path: root/screen-write.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-07-13 16:01:09 +0100
committerThomas Adam <thomas@xteddy.org>2015-07-13 16:01:09 +0100
commit38d4d696391123da266c9d38ed65bba7076e1147 (patch)
treec9f92de93800f0ae0bd25e033f63afbd12d832fe /screen-write.c
parent73f9f0334ce639e2f05cb0646af2c81881859a2e (diff)
parent6308c48efd7a80dad5701721f76b9aafb9b814f8 (diff)
downloadrtmux-38d4d696391123da266c9d38ed65bba7076e1147.tar.gz
rtmux-38d4d696391123da266c9d38ed65bba7076e1147.tar.bz2
rtmux-38d4d696391123da266c9d38ed65bba7076e1147.zip
Merge branch 'obsd-master'
Diffstat (limited to 'screen-write.c')
-rw-r--r--screen-write.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/screen-write.c b/screen-write.c
index e38c9f53..37e2b548 100644
--- a/screen-write.c
+++ b/screen-write.c
@@ -795,6 +795,8 @@ screen_write_linefeed(struct screen_write_ctx *ctx, int wrapped)
gl = &s->grid->linedata[s->grid->hsize + s->cy];
if (wrapped)
gl->flags |= GRID_LINE_WRAPPED;
+ else
+ gl->flags &= ~GRID_LINE_WRAPPED;
if (s->cy == s->rlower)
grid_view_scroll_region_up(s->grid, s->rupper, s->rlower);