From 5e6a8177e55a8e30e0cd67c7ee3039aa22ff1c0e Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 3 Feb 2017 21:01:02 +0000 Subject: Cache status line position to reduce option lookups during output. --- cmd-set-option.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd-set-option.c') 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 -- cgit