mirror of
https://github.com/tat3r/a2m.git
synced 2024-11-27 09:56: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;
|
c->ice = false;
|
||||||
else if (param[i] >= 30 && param[i] <= 37)
|
else if (param[i] >= 30 && param[i] <= 37)
|
||||||
c->fg = param[i] - 30;
|
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)
|
else if (param[i] >= 40 && param[i] <= 47)
|
||||||
c->bg = param[i] - 40;
|
c->bg = param[i] - 40;
|
||||||
else if (param[i] == 39)
|
else if (param[i] == 39)
|
||||||
|
Loading…
Reference in New Issue
Block a user