summaryrefslogtreecommitdiffstats
path: root/robots
diff options
context:
space:
mode:
authorblymn <blymn@NetBSD.org>2001-12-06 12:17:57 +0000
committerblymn <blymn@NetBSD.org>2001-12-06 12:17:57 +0000
commitf258f7ee04b15ebed3406288cead1ff3193111ac (patch)
tree08b3ffb26491c172bdfc84d9864061943865b4a6 /robots
parent32a0bcae73dd85672ba7efa44f0a61d8235a9388 (diff)
downloadbsdgames-darwin-f258f7ee04b15ebed3406288cead1ff3193111ac.tar.gz
bsdgames-darwin-f258f7ee04b15ebed3406288cead1ff3193111ac.tar.zst
bsdgames-darwin-f258f7ee04b15ebed3406288cead1ff3193111ac.zip
Change deprecated curses function to new equivalent.
Diffstat (limited to 'robots')
-rw-r--r--robots/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/robots/main.c b/robots/main.c
index fa705c92..3cb81a0b 100644
--- a/robots/main.c
+++ b/robots/main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.17 2001/02/05 01:02:45 christos Exp $ */
+/* $NetBSD: main.c,v 1.18 2001/12/06 12:17:57 blymn Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: main.c,v 1.17 2001/02/05 01:02:45 christos Exp $");
+__RCSID("$NetBSD: main.c,v 1.18 2001/12/06 12:17:57 blymn Exp $");
#endif
#endif /* not lint */
@@ -152,7 +152,7 @@ main(ac, av)
initscr();
signal(SIGINT, quit);
- crmode();
+ cbreak();
noecho();
nonl();
if (LINES != Y_SIZE || COLS != X_SIZE) {