summaryrefslogtreecommitdiffstats
path: root/cribbage/crib.c
diff options
context:
space:
mode:
authorblymn <blymn@NetBSD.org>2001-12-04 13:12:23 +0000
committerblymn <blymn@NetBSD.org>2001-12-04 13:12:23 +0000
commit7386031b3faf924f280cfea73c9fedfcba2c507a (patch)
tree417d1f69e9ba0c9d5663c276424b8664a8d8e01d /cribbage/crib.c
parentb39477d94f78cc79e9a6be958c99e583300ad56e (diff)
downloadbsdgames-darwin-7386031b3faf924f280cfea73c9fedfcba2c507a.tar.gz
bsdgames-darwin-7386031b3faf924f280cfea73c9fedfcba2c507a.tar.zst
bsdgames-darwin-7386031b3faf924f280cfea73c9fedfcba2c507a.zip
Replace deprecated curses call with supported equivalent.
Diffstat (limited to 'cribbage/crib.c')
-rw-r--r--cribbage/crib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cribbage/crib.c b/cribbage/crib.c
index e2b64303..81755982 100644
--- a/cribbage/crib.c
+++ b/cribbage/crib.c
@@ -1,4 +1,4 @@
-/* $NetBSD: crib.c,v 1.14 2001/02/05 00:28:30 christos Exp $ */
+/* $NetBSD: crib.c,v 1.15 2001/12/04 13:12:23 blymn Exp $ */
/*-
* Copyright (c) 1980, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
#if 0
static char sccsid[] = "@(#)crib.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: crib.c,v 1.14 2001/02/05 00:28:30 christos Exp $");
+__RCSID("$NetBSD: crib.c,v 1.15 2001/12/04 13:12:23 blymn Exp $");
#endif
#endif /* not lint */
@@ -112,7 +112,7 @@ main(argc, argv)
initscr();
(void)signal(SIGINT, rint);
- crmode();
+ cbreak();
noecho();
Playwin = subwin(stdscr, PLAY_Y, PLAY_X, 0, 0);