aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-07-14 19:03:16 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-07-14 19:03:16 +0000
commitae2ea525752c9eb1be9e9d7b3fa71b390a70f2ec (patch)
tree073b09021533caaefe103571968213ba006f8526 /tmux.h
parente76caa0017795c3ec4ad9406b55f4937bf7ccae0 (diff)
downloadrtmux-ae2ea525752c9eb1be9e9d7b3fa71b390a70f2ec.tar.gz
rtmux-ae2ea525752c9eb1be9e9d7b3fa71b390a70f2ec.tar.bz2
rtmux-ae2ea525752c9eb1be9e9d7b3fa71b390a70f2ec.zip
Instead of faking up a status line in status_redraw, use the same code to
redraw it as to draw the entire screen, just skip all lines but the last. This makes horizontal split redraw properly when the status line is off.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index d895d640..2b26b699 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1395,9 +1395,8 @@ void screen_write_cell(
struct screen_write_ctx *, const struct grid_cell *, u_char *);
/* screen-redraw.c */
-void screen_redraw_screen(struct client *);
+void screen_redraw_screen(struct client *, int);
void screen_redraw_pane(struct client *, struct window_pane *);
-void screen_redraw_status(struct client *);
/* screen.c */
void screen_init(struct screen *, u_int, u_int, u_int);