How to change background color of a pane in tmux

colorsterminaltmux

I would like to change the background color of the inactive panes in tmux to better distinguish between the active pane and inactive panes. Something just a few shades different than the default. How could I do this?

Best Answer

UPDATE:
A newer version of tmux now allows this: https://stackoverflow.com/a/33553372/1204312


There is currently no way to do this.

See this accepted answer on stackoverflow which suggests changing pane-borders instead.

You can set values for pane-active-border-style and pane-border-style in your ~/.tmux.conf.

See this answer for more details configuring these values (and some inconsistencies between tmux versions).

Related Question