aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2019-03-16 17:14:07 +0000
committernicm <nicm>2019-03-16 17:14:07 +0000
commitb4f5b99e4b3c6b266e53c6c4ff748320a197011d (patch)
tree55b6c014d178e59119794e9e05bb84ca9b93c69a /tmux.h
parente8b33af780d8b9622de422cbcd4f82a47ccd0c6e (diff)
downloadrtmux-b4f5b99e4b3c6b266e53c6c4ff748320a197011d.tar.gz
rtmux-b4f5b99e4b3c6b266e53c6c4ff748320a197011d.tar.bz2
rtmux-b4f5b99e4b3c6b266e53c6c4ff748320a197011d.zip
Tidy and rename some bits of status line code.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/tmux.h b/tmux.h
index 4b16eb83..3b0f7d5b 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1314,8 +1314,8 @@ struct cmd_entry {
struct status_line {
struct event timer;
- struct screen status;
- struct screen *old_status;
+ struct screen screen;
+ struct screen *old_screen;
int window_list_offset;
@@ -1967,10 +1967,11 @@ 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 *);
+void status_update_cache(struct session *);
int status_at_line(struct client *);
u_int status_line_size(struct client *);
struct window *status_get_window_at(struct client *, u_int);
+void status_init(struct client *);
void status_free(struct client *);
int status_redraw(struct client *);
void printflike(2, 3) status_message_set(struct client *, const char *, ...);