Make newline a style delimiter as well so they can cross multiple lines

for readability.
This commit is contained in:
nicm 2021-08-12 20:46:30 +00:00
parent db9195463d
commit e2f6f58fe5

View File

@ -51,7 +51,7 @@ int
style_parse(struct style *sy, const struct grid_cell *base, const char *in)
{
struct style saved;
const char delimiters[] = " ,", *cp;
const char delimiters[] = " ,\n", *cp;
char tmp[256], *found;
int value;
size_t end;