diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2018-08-20 20:05:34 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2018-08-20 20:05:34 +0100 |
commit | 9f39470b382481f9ec0d9eb17d196a753ecf8e33 (patch) | |
tree | 799d95b4ac052968a92a4dea4a3a1b62c12b3952 /tmux.h | |
parent | 458b4b77014361c1df05a84b81e3318aeb19e6cd (diff) | |
download | rtmux-9f39470b382481f9ec0d9eb17d196a753ecf8e33.tar.gz rtmux-9f39470b382481f9ec0d9eb17d196a753ecf8e33.tar.bz2 rtmux-9f39470b382481f9ec0d9eb17d196a753ecf8e33.zip |
Only screen-redraw.c needs to adjust for message or prompt when the
status line is off, get rid of tty_status_lines and just pass the
client into status_line_size so it can check the CLIENT_STATUSOFF flag
as well.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1674,7 +1674,6 @@ int tty_window_bigger(struct tty *); int tty_window_offset(struct tty *, u_int *, u_int *, u_int *, u_int *); void tty_update_window_offset(struct window *); void tty_update_client_offset(struct client *); -u_int tty_status_lines(struct tty *); void tty_raw(struct tty *, const char *); void tty_attributes(struct tty *, const struct grid_cell *, const struct window_pane *); @@ -1933,9 +1932,9 @@ void server_unzoom_window(struct window *); /* status.c */ void status_timer_start(struct client *); void status_timer_start_all(void); -void status_update_saved(struct session *s); +void status_update_saved(struct session *); int status_at_line(struct client *); -u_int status_line_size(struct session *); +u_int status_line_size(struct client *); struct window *status_get_window_at(struct client *, u_int); int status_redraw(struct client *); void printflike(2, 3) status_message_set(struct client *, const char *, ...); |