diff options
author | 2019-03-16 19:12:13 +0000 | |
---|---|---|
committer | 2019-03-16 19:12:13 +0000 | |
commit | 8e497f9e69502d43008f3d7e9daaac6ce87fa228 (patch) | |
tree | ada04371d66e6e1dc906299ef69497d9311270b9 /usr.bin/tmux/tmux.h | |
parent | Give status_save_old the client so it can do the reinit too. (diff) | |
download | wireguard-openbsd-8e497f9e69502d43008f3d7e9daaac6ce87fa228.tar.xz wireguard-openbsd-8e497f9e69502d43008f3d7e9daaac6ce87fa228.zip |
Use a pointer for the active screen in the status line instead of
copying them around all the time.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index fd83d2c73c6..faf60868f0a 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.870 2019/03/16 17:14:07 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.871 2019/03/16 19:12:13 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1315,7 +1315,8 @@ struct status_line { struct event timer; struct screen screen; - struct screen *old_screen; + struct screen *active; + int references; int window_list_offset; |