diff options
author | nicm <nicm> | 2017-02-03 21:01:02 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-02-03 21:01:02 +0000 |
commit | 5e6a8177e55a8e30e0cd67c7ee3039aa22ff1c0e (patch) | |
tree | 13019779a1e985f4857616f08d54bffb8fd20008 /tmux.h | |
parent | 75adf8368a649b62bfa4a20e8c21340cf53c2a6a (diff) | |
download | rtmux-5e6a8177e55a8e30e0cd67c7ee3039aa22ff1c0e.tar.gz rtmux-5e6a8177e55a8e30e0cd67c7ee3039aa22ff1c0e.tar.bz2 rtmux-5e6a8177e55a8e30e0cd67c7ee3039aa22ff1c0e.zip |
Cache status line position to reduce option lookups during output.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -545,7 +545,6 @@ struct grid_cell { int fg; int bg; struct utf8_data data; - }; struct grid_cell_entry { u_char flags; @@ -936,6 +935,8 @@ struct session { struct winlink_stack lastw; struct winlinks windows; + int statusat; + struct hooks *hooks; struct options *options; @@ -1864,6 +1865,7 @@ 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 *s); int status_at_line(struct client *); struct window *status_get_window_at(struct client *, u_int); int status_redraw(struct client *); |