From 2f6935a630507351233d6296cc6ec9a08d6a702a Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 16 Oct 2017 19:30:53 +0000 Subject: Infrastructure for drawing status lines of more than one line in height, still only one is allowed but this lets tmux draw bigger ones. --- tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tty.c') 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); } -- cgit