If there is a process running on another tab, currently the default behavior in tmux is to swap fg and bg colors, causing tabs to look like this:
The second tab has activity and has flipped colors.
One workaround is to set window-status-activity-style to an empty string to disable the color inversion. This is safe because window-status-activity-style is ignored when window-status-format is set.
The second tab has activity but no visual signifier.
To improve on this, we can make use of conditionals to bold activity text.
The second tab has activity and is bolded.
The third figure is the fix and functionality that this pull request provides.
If there is a process running on another tab, currently the default behavior in tmux is to swap fg and bg colors, causing tabs to look like this:
One workaround is to set
window-status-activity-style
to an empty string to disable the color inversion. This is safe becausewindow-status-activity-style
is ignored whenwindow-status-format
is set.To improve on this, we can make use of conditionals to bold activity text.
The third figure is the fix and functionality that this pull request provides.