aboutsummaryrefslogtreecommitdiff
path: root/screen-write.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-11-03 00:01:20 +0000
committerThomas Adam <thomas@xteddy.org>2017-11-03 00:01:20 +0000
commite1606172dde26ed8a589d6c49196ea5fda7e3186 (patch)
tree7d7e091ebcc28fc7af6e079d2bca12e2fe715399 /screen-write.c
parentc9ec33d0d018daacce90faf96156bf69098c210b (diff)
parent43264dfbf410489b36343a29cc83798a54df67f8 (diff)
downloadrtmux-e1606172dde26ed8a589d6c49196ea5fda7e3186.tar.gz
rtmux-e1606172dde26ed8a589d6c49196ea5fda7e3186.tar.bz2
rtmux-e1606172dde26ed8a589d6c49196ea5fda7e3186.zip
Merge branch 'obsd-master'
Diffstat (limited to 'screen-write.c')
-rw-r--r--screen-write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screen-write.c b/screen-write.c
index 37a51fcb..44c28982 100644
--- a/screen-write.c
+++ b/screen-write.c
@@ -457,7 +457,7 @@ screen_write_vline(struct screen_write_ctx *ctx, u_int ny, int top, int bottom)
screen_write_cursormove(ctx, cx, cy + i);
screen_write_putc(ctx, &gc, 'x');
}
- screen_write_cursormove(ctx, cx, cy + ny);
+ screen_write_cursormove(ctx, cx, cy + ny - 1);
screen_write_putc(ctx, &gc, bottom ? 'v' : 'x');
screen_write_cursormove(ctx, cx, cy);