aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-10-20 12:36:29 +0100
committerThomas Adam <thomas@xteddy.org>2017-10-20 12:36:29 +0100
commit31901e3c07ca3f4e51ab504aa2d752f614e761be (patch)
tree4ba325087795c2fd089c14bbc095b6b5db75b19f /tty.c
parenta34de2e378e0cff7191a426117f44e8b81543445 (diff)
parent2f6935a630507351233d6296cc6ec9a08d6a702a (diff)
downloadrtmux-31901e3c07ca3f4e51ab504aa2d752f614e761be.tar.gz
rtmux-31901e3c07ca3f4e51ab504aa2d752f614e761be.tar.bz2
rtmux-31901e3c07ca3f4e51ab504aa2d752f614e761be.zip
Merge branch 'obsd-master'
Conflicts: server-fn.c
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 0d1aa368..90361e3f 100644
--- a/tty.c
+++ b/tty.c
@@ -1038,7 +1038,7 @@ tty_write(void (*cmdfn)(struct tty *, const struct tty_ctx *),
ctx->xoff = wp->xoff;
ctx->yoff = wp->yoff;
if (status_at_line(c) == 0)
- ctx->yoff++;
+ ctx->yoff += status_line_size(c->session);
cmdfn(&c->tty, ctx);
}