CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2014/01/28 16:07:09
Modified files:
usr.bin/tmux : Makefile cmd-set-option.c grid.c
options-table.c options.c screen-redraw.c
screen-write.c status.c tmux.1 tmux.h tty.c
window-choose.c window-copy.c window.c
Added files:
usr.bin/tmux : style.c
Log message:
Allow replacing each of the many sets of separate foo-{fg,bg,attr}
options with a single foo-style option. For example:
set -g status-fg yellow
set -g status-bg red
set -g status-attr blink
Becomes:
set -g status-style fg=yellow,bg=red,blink
The -a flag to set can be used to add to rather than replace a style. So:
set -g status-bg red
Becomes:
set -ag status-style bg=red
Currently this is fully backwards compatible (all *-{fg,bg,attr} options
remain) but the plan is to deprecate them over time.
>From Tiago Cunha.