Use a pointer for the active screen in the status line instead of

copying them around all the time.
This commit is contained in:
nicm
2019-03-16 19:12:13 +00:00
parent 818fda0363
commit b588b1729a
4 changed files with 73 additions and 76 deletions

3
tmux.h
View File

@ -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;