Add color configuration support

This commit is contained in:
Martin Lund 2022-03-11 16:09:21 +01:00
parent 410fc8bffe
commit e81e76473a
2 changed files with 8 additions and 1 deletions

View file

@ -146,6 +146,10 @@ static int data_handler(void *user, const char *section, const char *name,
asprintf(&c->map, "%s", value);
option.map = c->map;
}
else if (!strcmp(name, "color"))
{
option.color = atoi(value);
}
return 0;
}