The pane_synchronized
format variable can be used with conditional formatting to adjust bits of the various format-using status options.
You could add SYNC!!!
in a blue background to the end of status-right
:
set-option -ag status-right '#{?pane_synchronized, #[bg=blue]SYNC!!!#[default],}'
Or you could add blue asterisks around the entry in the window list:
set-option -gw window-status-current-format '#{?pane_synchronized,#[fg=blue]***#[default],}#I:#W#F#{?pane_synchronized,#[fg=blue]***#[default],}'
(the #I:#W#F
in the middle is the default format)
You might also want to adjust window-status-format
if you want to know when an inactive window’s panes are synchronized.