diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-07-14 19:11:58 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-07-14 19:11:58 +0000 |
commit | f08c9b2217c148e25a18a11fd55d96d93cbb3736 (patch) | |
tree | b9da9c69f6a795b005f49cb04bf0ebb476e2e7d7 /screen-redraw.c | |
parent | ae2ea525752c9eb1be9e9d7b3fa71b390a70f2ec (diff) | |
download | rtmux-f08c9b2217c148e25a18a11fd55d96d93cbb3736.tar.gz rtmux-f08c9b2217c148e25a18a11fd55d96d93cbb3736.tar.bz2 rtmux-f08c9b2217c148e25a18a11fd55d96d93cbb3736.zip |
For some reason when clearing status/message it was redrawing the entire client
not just the status line. Changing this also revealed the check for the status
line was incorrect when drawing the pane.
Diffstat (limited to 'screen-redraw.c')
-rw-r--r-- | screen-redraw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/screen-redraw.c b/screen-redraw.c index 70f94a28..e63f8725 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -166,7 +166,7 @@ screen_redraw_screen(struct client *c, int status_only) /* Draw the pane. */ for (i = 0; i < wp->sy; i++) { - if (status_only && i != tty->sy - 1) + if (status_only && wp->yoff + i != tty->sy - 1) continue; tty_draw_line(tty, wp->screen, i, wp->xoff, wp->yoff); } |