mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Add color configuration support
This commit is contained in:
parent
410fc8bffe
commit
e81e76473a
2 changed files with 8 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue