implement support for ^C^ and ^B^ again

This commit is contained in:
speedie 2022-12-03 22:20:21 +01:00
parent e881c2ca11
commit 47c606ade1

View file

@ -72,6 +72,12 @@ drawstatusbar(int x, char* stext)
} else if (text[i] == 'd') {
drw->scheme[ColFg] = scheme[SchemeStatus][ColFg];
drw->scheme[ColBg] = scheme[SchemeStatus][ColBg];
} else if (text[i] == 'C') {
int c = atoi(text + ++i);
drw_clr_create(drw, &drw->scheme[ColFg], colstatus[c], alphas[SchemeStatus][ColBg]);
} else if (text[i] == 'B') {
int c = atoi(text + ++i);
drw_clr_create(drw, &drw->scheme[ColBg], colstatus[c], alphas[SchemeStatus][ColBg]);
} else if (text[i] == 'r') {
int rx = atoi(text + ++i);
while (text[++i] != ',');