diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-04-01 18:33:19 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-04-01 18:33:19 +0000 |
commit | 15362ef6b877d19f7cd90a972a0683c9386e687d (patch) | |
tree | b6776306d9f8cacf31058627f4de9844e731d6ac | |
parent | a45e33114a0961d312e7d0af2e35b7feee02c1ec (diff) | |
download | rtmux-15362ef6b877d19f7cd90a972a0683c9386e687d.tar.gz rtmux-15362ef6b877d19f7cd90a972a0683c9386e687d.tar.bz2 rtmux-15362ef6b877d19f7cd90a972a0683c9386e687d.zip |
Don't need to refresh layout here. Also don't redraw over status line.
-rw-r--r-- | cmd-down-pane.c | 4 | ||||
-rw-r--r-- | cmd-up-pane.c | 4 | ||||
-rw-r--r-- | screen-redraw.c | 4 |
3 files changed, 4 insertions, 8 deletions
diff --git a/cmd-down-pane.c b/cmd-down-pane.c index cca5303a..cd150349 100644 --- a/cmd-down-pane.c +++ b/cmd-down-pane.c @@ -1,4 +1,4 @@ -/* $Id: cmd-down-pane.c,v 1.5 2009-04-01 18:21:24 nicm Exp $ */ +/* $Id: cmd-down-pane.c,v 1.6 2009-04-01 18:33:19 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -56,7 +56,5 @@ cmd_down_pane_exec(struct cmd *self, struct cmd_ctx *ctx) w->active = TAILQ_FIRST(&w->panes); } while (w->active->flags & PANE_HIDDEN); - layout_refresh(wl->window); - return (0); } diff --git a/cmd-up-pane.c b/cmd-up-pane.c index d70a2a24..c9b45030 100644 --- a/cmd-up-pane.c +++ b/cmd-up-pane.c @@ -1,4 +1,4 @@ -/* $Id: cmd-up-pane.c,v 1.5 2009-04-01 18:21:29 nicm Exp $ */ +/* $Id: cmd-up-pane.c,v 1.6 2009-04-01 18:33:19 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -56,7 +56,5 @@ cmd_up_pane_exec(struct cmd *self, struct cmd_ctx *ctx) w->active = TAILQ_LAST(&w->panes, window_panes); } while (w->active->flags & PANE_HIDDEN); - layout_refresh(wl->window); - return (0); } diff --git a/screen-redraw.c b/screen-redraw.c index 7c989cca..1c8ab096 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -1,4 +1,4 @@ -/* $Id: screen-redraw.c,v 1.31 2009-04-01 18:21:35 nicm Exp $ */ +/* $Id: screen-redraw.c,v 1.32 2009-04-01 18:33:19 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -113,7 +113,7 @@ screen_redraw_screen(struct client *c) for (i = 0; i < sx; i++) tty_putc(tty, '-'); } - if (wp->yoff + sy < tty->sy) { + if (wp->yoff + sy < tty->sy - status) { tty_cursor(tty, wp->xoff, wp->yoff + sy, 0, 0); for (i = 0; i < sx; i++) tty_putc(tty, '-'); |