diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-14 19:03:17 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-14 19:03:17 +0000 |
commit | 0c6165b31fe385fa5437282f84018142970ba133 (patch) | |
tree | 904b171ebc0f5884d936f379928f7ef3dcb69b34 /usr.bin/tmux/tmux.h | |
parent | 8d749c48f10e597763969100bc994f7a091afdb1 (diff) |
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 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 5449b2deaed..12b3c11168d 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.28 2009/07/14 07:23:36 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.29 2009/07/14 19:03:16 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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); |