mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 01:48:47 +00:00
Start with style initialized to default.
This commit is contained in:
parent
1f8256fc50
commit
c1acfb4341
@ -850,7 +850,9 @@ options_string_to_style(struct options *oo, const char *name,
|
||||
s = o->value.string;
|
||||
log_debug("%s: %s is '%s'", __func__, name, s);
|
||||
|
||||
style_set(&o->style, &grid_default_cell);
|
||||
o->cached = (strstr(s, "#{") == NULL);
|
||||
|
||||
if (ft != NULL && !o->cached) {
|
||||
expanded = format_expand(ft, s);
|
||||
if (style_parse(&o->style, &grid_default_cell, expanded) != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user