Redraw card background to prevent visual artefacts

Fixes issue #37.
This commit is contained in:
Rudy Dellomas III 2020-06-01 01:12:40 +10:00
parent 0268d6df09
commit 56177f4393

View File

@ -43,6 +43,7 @@ static void draw_suit(struct card *card) {
static void draw_front(struct card *card) {
wbkgd(card->frame->window, COLOR_PAIR(BLACK_ON_WHITE));
wborder(card->frame->window, ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ');
draw_value(card);
draw_suit(card);
}