mirror of
https://github.com/tat3r/a2m.git
synced 2024-11-23 16:06:39 +00:00
added support for alternate colors
This commit is contained in:
parent
317657131d
commit
794a0264e1
4
a2m.c
4
a2m.c
@ -251,6 +251,10 @@ int main(int argc, char *argv[]) {
|
||||
c->ice = false;
|
||||
else if (param[i] >= 30 && param[i] <= 37)
|
||||
c->fg = param[i] - 30;
|
||||
else if (param[i] >= 90 && param[i] <= 97) {
|
||||
c->fg = param[i] - 90;
|
||||
c->bold = true;
|
||||
}
|
||||
else if (param[i] >= 40 && param[i] <= 47)
|
||||
c->bg = param[i] - 40;
|
||||
else if (param[i] == 39)
|
||||
|
Loading…
Reference in New Issue
Block a user