summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-03-16 17:14:08 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-03-16 17:14:08 +0000
commitb12b5b87ce69f36884891690268e3d0b6d824166 (patch)
treea35454bc89035fcf311f58277af57597c54b6a83 /usr.bin/tmux/tmux.h
parent60994cdb738e0d241981deaa4b6df2fed47fe2ce (diff)
Tidy and rename some bits of status line code.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index e74089b59b6..fd83d2c73c6 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.869 2019/03/15 21:54:47 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.870 2019/03/16 17:14:07 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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 *, ...);