Skip to content

Commit 13720fb

Browse files
committed
Fix busy wait after victory animation. (Fixes #3)
1 parent e49c8d7 commit 13720fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -419,10 +419,10 @@ static int ui_victory(Pile *piles, Theme *theme, int32_t score, int32_t time, St
419419
}
420420
}
421421
}
422+
nodelay(stdscr, 0);
422423
while (1) {
423424
switch (getch()) {
424425
case 'r':
425-
nodelay(stdscr, 0);
426426
curs_set(1);
427427
return 1;
428428
case 'q':

0 commit comments

Comments
 (0)