aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2018-08-20 20:05:34 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2018-08-20 20:05:34 +0100
commit9f39470b382481f9ec0d9eb17d196a753ecf8e33 (patch)
tree799d95b4ac052968a92a4dea4a3a1b62c12b3952 /tmux.h
parent458b4b77014361c1df05a84b81e3318aeb19e6cd (diff)
downloadrtmux-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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/tmux.h b/tmux.h
index 2ae71af9..3eb4c174 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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 *, ...);