tmux colors config is not compatible with 2.9 tmux

Bug #1828539 reported by neworld
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
New
Undecided
Unassigned

Bug Description

I am using latest https://github.com/tmux/tmux. The full changelog is here: https://raw.githubusercontent.com/tmux/tmux/2.9a/CHANGES. But the incompatible is:

* The individual -fg, -bg and -attr options have been removed; they
  were superseded by -style options in tmux 1.9.

This makes many options invalid in /usr/share/byobu/profiles/tmux invalid

For me personally, most important config is:

set-window-option -g window-status-current-attr reverse
set-window-option -g window-status-current-bg $BYOBU_DARK
set-window-option -g window-status-current-fg $BYOBU_LIGHT

And they are no more valid. Would be nice to have an appropriate config for the newest version of tmux. For example, this config could look:

set-window-option -g window-status-current-style fg=$BYOBU_LIGHT,bg=$BYOBU_DARK,reverse

Revision history for this message
neworld (aneworld) wrote :

Documentation of styles:

                     Set status line message command style, where style is a comma-separated list
                     of characteristics to be specified.

                     These may be ‘bg=colour’ to set the background colour, ‘fg=colour’ to set
                     the foreground colour, and a list of attributes as specified below.

                     The colour is one of: black, red, green, yellow, blue, magenta, cyan, white,
                     aixterm bright variants (if supported: brightred, brightgreen, and so on),
                     colour0 to colour255 from the 256-colour set, default, or a hexadecimal RGB
                     string such as ‘#ffffff’, which chooses the closest match from the default
                     256-colour set.

                     The attributes is either none or a comma-delimited list of one or more of:
                     bright (or bold), dim, underscore, blink, reverse, hidden, or italics, to
                     turn an attribute on, or an attribute prefixed with ‘no’ to turn one off.

                     Examples are:

                           fg=yellow,bold,underscore,blink
                           bg=black,fg=default,noreverse

                     With the -a flag to the set-option command the new style is added otherwise
                     the existing style is replaced.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.