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.
This commit is contained in:
Nicholas Marriott
2009-07-14 19:03:16 +00:00
parent e76caa0017
commit ae2ea52575
4 changed files with 53 additions and 57 deletions

3
tmux.h
View File

@ -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);