Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Commit [945339] Maximize Restore History

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.

nicm nicm 2014-01-28

added style.c
changed Makefile
changed cmd-set-option.c
changed grid.c
changed options-table.c
changed options.c
changed screen-redraw.c
changed screen-write.c
changed status.c
changed tmux.1
changed tmux.h
changed tty.c
changed window-choose.c
changed window-copy.c
changed window.c
style.c Diff Switch to side-by-side view
Loading...
Makefile Diff Switch to side-by-side view
Loading...
cmd-set-option.c Diff Switch to side-by-side view
Loading...
grid.c Diff Switch to side-by-side view
Loading...
options-table.c Diff Switch to side-by-side view
Loading...
options.c Diff Switch to side-by-side view
Loading...
screen-redraw.c Diff Switch to side-by-side view
Loading...
screen-write.c Diff Switch to side-by-side view
Loading...
status.c Diff Switch to side-by-side view
Loading...
tmux.1 Diff Switch to side-by-side view
Loading...
tmux.h Diff Switch to side-by-side view
Loading...
tty.c Diff Switch to side-by-side view
Loading...
window-choose.c Diff Switch to side-by-side view
Loading...
window-copy.c Diff Switch to side-by-side view
Loading...
window.c Diff Switch to side-by-side view
Loading...