Merge pull request #41 from dther/master

Redraw card background to prevent visual artefacts
This commit is contained in:
Murilo Pereira 2020-05-31 22:40:22 +02:00 committed by GitHub
commit 223837b9e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}