Oops. cursors showing up again.
This commit is contained in:
parent
8d3e667e86
commit
9636828ba5
@ -146,10 +146,10 @@ void draw_deck(struct deck *deck) {
|
|||||||
void draw_cursor(struct cursor *cursor) {
|
void draw_cursor(struct cursor *cursor) {
|
||||||
if (cursor->marked) {
|
if (cursor->marked) {
|
||||||
mvwin(cursor->window, cursor->y, cursor->x);
|
mvwin(cursor->window, cursor->y, cursor->x);
|
||||||
waddch(cursor->window, '@');
|
mvwaddch(cursor->window, 0, 0, '@');
|
||||||
} else {
|
} else {
|
||||||
mvwin(cursor->window, cursor->y, cursor->x);
|
mvwin(cursor->window, cursor->y, cursor->x);
|
||||||
waddch(cursor->window, '*');
|
mvwaddch(cursor->window, 0, 0, '*');
|
||||||
}
|
}
|
||||||
wrefresh(cursor->window);
|
wrefresh(cursor->window);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user