Skip to content

Commit

Permalink
Make newline a style delimiter as well so they can cross multiple lines
Browse files Browse the repository at this point in the history
for readability.
  • Loading branch information
nicm committed Aug 12, 2021
1 parent db91954 commit e2f6f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion style.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e2f6f58

Please sign in to comment.