make printing out instructions work properly
authorKen Arnold <arnold@ucbvax.Berkeley.EDU>
Tue, 7 Sep 1982 05:34:48 +0000 (21:34 -0800)
committerKen Arnold <arnold@ucbvax.Berkeley.EDU>
Tue, 7 Sep 1982 05:34:48 +0000 (21:34 -0800)
SCCS-vsn: games/cribbage/crib.c 1.9

usr/src/games/cribbage/crib.c

index 97c2d3a..c1aa8a5 100644 (file)
@@ -63,7 +63,13 @@ char *argv[];
        if (!quiet) {
            msg("Do you need instructions for cribbage? ");
            if (getuchar() == 'Y') {
        if (!quiet) {
            msg("Do you need instructions for cribbage? ");
            if (getuchar() == 'Y') {
+               endwin();
+               fflush(stdout);
                system(INSTRCMD);
                system(INSTRCMD);
+               crmode();
+               noecho();
+               clear();
+               refresh();
                msg("For the rules of this program, do \"man cribbage\"");
            }
        }
                msg("For the rules of this program, do \"man cribbage\"");
            }
        }