Add a set-default style attribute which replaces the current default

colours and attributes completely, useful at the start of compound
format strings (like status-format) to set the default colours for all
the following options.
This commit is contained in:
nicm
2025-05-22 07:43:38 +00:00
parent 37a2c98d3d
commit 833c7fbf6d
4 changed files with 19 additions and 2 deletions

4
tmux.1
View File

@ -6357,6 +6357,10 @@ will be available in the
format variable.
.Ql X
must be at most 15 bytes in length.
.It Ic set-default
Set the current colours and attributes as the default, overwriting any previous
default.
The previous default cannot be restored.
.El
.Pp
Examples are: