Lokaltog/powerline — pull request #863 by austinbeam (2014-05-01 05:15:56+00:00)
Title: tmux: Change session block color if prefix pressed

This modification to the tmux powerline binding allows the user to
easily identify when the prefix has been sent. When the prefix has
been sent, the session block changes from white to blue (matching the
color of the active window). This is accomplished using the conditional
functionality of tmux format strings and the 'client_prefix' format
variable. Unfortunately, the tmux parser fails to properly parse out
comma-separated format strings inside a format conditional, so those
have been split out into individual segments as well. Attempting to
re-combine the formats inside the conditionals will break this feature.

Standard session block:
![powerline_std_session_block_tmux](https://cloud.githubusercontent.com/assets/1715252/2849997/47014f68-d0ef-11e3-8a5f-3a19ad913c57.PNG)
Prefix active session block:
![powerline_prefix_active_session_block_tmux](https://cloud.githubusercontent.com/assets/1715252/2850005/82ebabea-d0ef-11e3-8034-55db7ae98780.PNG)