Make select-pane -P set window-active-style also to match previous

behaviour, reported by Thomas Sattler.
pull/1921/head
nicm 2019-09-24 09:58:58 +00:00
parent 77deef733b
commit 232050830b
1 changed files with 2 additions and 0 deletions

View File

@ -154,6 +154,8 @@ cmd_select_pane_exec(struct cmd *self, struct cmdq_item *item)
cmdq_error(item, "bad style: %s", style);
return (CMD_RETURN_ERROR);
}
options_set_style(wp->options, "window-active-style", 0,
style);
wp->flags |= (PANE_REDRAW|PANE_STYLECHANGED);
}
if (args_has(self->args, 'g')) {