summaryrefslogtreecommitdiffstats
path: root/style.c
diff options
context:
space:
mode:
authornicm <nicm>2021-08-12 20:46:30 +0000
committernicm <nicm>2021-08-12 20:46:30 +0000
commite2f6f58fe50e233dcd0d924bd30c94d1161c666d (patch)
treedea22ff38b08a6c51d35ba12059ba5273ce4a924 /style.c
parentdb9195463d454d076328e69543194452da26c691 (diff)
Make newline a style delimiter as well so they can cross multiple lines
for readability.
Diffstat (limited to 'style.c')
-rw-r--r--style.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/style.c b/style.c
index 24b09882..89a4e63a 100644
--- a/style.c
+++ b/style.c
@@ -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;