mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 01:48:47 +00:00
Ignore invalid styles rather than throwing away the whole format, this
matches what we used to do.
This commit is contained in:
parent
3b959c05ff
commit
ae46a19b8e
@ -583,7 +583,8 @@ format_draw(struct screen_write_ctx *octx, const struct grid_cell *base,
|
||||
if (style_parse(&sy, base, tmp) != 0) {
|
||||
log_debug("invalid style '%s'", tmp);
|
||||
free(tmp);
|
||||
return;
|
||||
cp = end + 1;
|
||||
continue;
|
||||
}
|
||||
log_debug("style '%s' -> '%s'", tmp, style_tostring(&sy));
|
||||
free(tmp);
|
||||
|
Loading…
Reference in New Issue
Block a user