summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2019-03-16 17:14:07 +0000
committernicm <nicm@openbsd.org>2019-03-16 17:14:07 +0000
commitb2140406a212bf0a749b68b28dcc118a55873e85 (patch)
treea3a55aae818c412ec2b146cfefb8a1bd55bbbfc0 /usr.bin/tmux/tmux.h
parentUnify the top-level structure of interrupt handles. This helps (diff)
downloadwireguard-openbsd-b2140406a212bf0a749b68b28dcc118a55873e85.tar.xz
wireguard-openbsd-b2140406a212bf0a749b68b28dcc118a55873e85.zip
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 *, ...);