mirror of
https://github.com/tat3r/a2m.git
synced 2024-11-30 11:26:38 +00:00
fixed bug when changing bg color
This commit is contained in:
parent
c577dc4e0b
commit
317657131d
3
a2m.c
3
a2m.c
@ -482,8 +482,7 @@ print_color(canvas_t *c, cell_t *cell, int col)
|
|||||||
|
|
||||||
printf("\x03");
|
printf("\x03");
|
||||||
|
|
||||||
if (cell->fg != oldfg || cell->bold != oldbold)
|
printf("%d", get_fgcolor(cell));
|
||||||
printf("%d", get_fgcolor(cell));
|
|
||||||
|
|
||||||
if (cell->bg != oldbg || (cell->ice != oldice))
|
if (cell->bg != oldbg || (cell->ice != oldice))
|
||||||
printf(",%d", get_bgcolor(cell));
|
printf(",%d", get_bgcolor(cell));
|
||||||
|
Loading…
Reference in New Issue
Block a user