aboutsummaryrefslogtreecommitdiff
path: root/screen-write.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2015-07-14 08:15:05 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2015-07-14 08:15:05 +0100
commit5ffb869e1a543b264b9d94a19077d16f9832aff5 (patch)
tree59392329b2b678d46667e0960efa9e2c7dfb202a /screen-write.c
parentbed3069fd746741286e624126774f98ed51fbbdf (diff)
parentdcc28434f460f637976ca313e062c0728d438e97 (diff)
downloadrtmux-5ffb869e1a543b264b9d94a19077d16f9832aff5.tar.gz
rtmux-5ffb869e1a543b264b9d94a19077d16f9832aff5.tar.bz2
rtmux-5ffb869e1a543b264b9d94a19077d16f9832aff5.zip
Merge branch 'master' of github.com:tmux/tmux
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);