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 /cmd-set-option.c | |
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 'cmd-set-option.c')
-rw-r--r-- | cmd-set-option.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c index c7cef42c..cc8b7570 100644 --- a/cmd-set-option.c +++ b/cmd-set-option.c @@ -248,6 +248,8 @@ cmd_set_option_exec(struct cmd *self, struct cmdq_item *item) RB_FOREACH(w, windows, &windows) layout_fix_panes(w, w->sx, w->sy); } + RB_FOREACH (s, sessions, &sessions) + status_update_saved(s); /* * Update sizes and redraw. May not always be necessary but do it |