projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b00e688
)
make printing out instructions work properly
author
Ken Arnold
<arnold@ucbvax.Berkeley.EDU>
Tue, 7 Sep 1982 05:34:48 +0000
(21:34 -0800)
committer
Ken 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
patch
|
blob
|
blame
|
history
diff --git
a/usr/src/games/cribbage/crib.c
b/usr/src/games/cribbage/crib.c
index
97c2d3a
..
c1aa8a5
100644
(file)
--- a/
usr/src/games/cribbage/crib.c
+++ b/
usr/src/games/cribbage/crib.c
@@
-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\"");
}
}