diff options
author | nicm <nicm> | 2017-10-16 19:30:53 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-10-16 19:30:53 +0000 |
commit | 2f6935a630507351233d6296cc6ec9a08d6a702a (patch) | |
tree | c58a22106fac6aa6999d02329498c5dc77f57989 /tty.c | |
parent | a5fd5782f87362b8ee31cd5c6975728e112db9ff (diff) | |
download | rtmux-2f6935a630507351233d6296cc6ec9a08d6a702a.tar.gz rtmux-2f6935a630507351233d6296cc6ec9a08d6a702a.tar.bz2 rtmux-2f6935a630507351233d6296cc6ec9a08d6a702a.zip |
Infrastructure for drawing status lines of more than one line in height,
still only one is allowed but this lets tmux draw bigger ones.
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |