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

3
tmux.h
View File

@ -881,7 +881,8 @@ TAILQ_HEAD(style_ranges, style_range);
enum style_default_type {
STYLE_DEFAULT_BASE,
STYLE_DEFAULT_PUSH,
STYLE_DEFAULT_POP
STYLE_DEFAULT_POP,
STYLE_DEFAULT_SET
};
/* Style option. */