summaryrefslogtreecommitdiffstats
path: root/battlestar
diff options
context:
space:
mode:
authorblymn <blymn@NetBSD.org>2001-12-04 13:00:24 +0000
committerblymn <blymn@NetBSD.org>2001-12-04 13:00:24 +0000
commitb39477d94f78cc79e9a6be958c99e583300ad56e (patch)
treee104d5b71dfadf0681d9625bfe0a44d63cc0abb2 /battlestar
parentaf019d0bd24bae5f2e302cf49eb19cdbeb17154c (diff)
downloadbsdgames-darwin-b39477d94f78cc79e9a6be958c99e583300ad56e.tar.gz
bsdgames-darwin-b39477d94f78cc79e9a6be958c99e583300ad56e.tar.zst
bsdgames-darwin-b39477d94f78cc79e9a6be958c99e583300ad56e.zip
Convert old deprecated curses call to new equivalent.
Diffstat (limited to 'battlestar')
-rw-r--r--battlestar/fly.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/battlestar/fly.c b/battlestar/fly.c
index 9dcbcf08..a900132a 100644
--- a/battlestar/fly.c
+++ b/battlestar/fly.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fly.c,v 1.9 2000/09/24 09:44:28 jsm Exp $ */
+/* $NetBSD: fly.c,v 1.10 2001/12/04 13:00:24 blymn Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)fly.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: fly.c,v 1.9 2000/09/24 09:44:28 jsm Exp $");
+__RCSID("$NetBSD: fly.c,v 1.10 2001/12/04 13:00:24 blymn Exp $");
#endif
#endif /* not lint */
@@ -87,7 +87,7 @@ visual()
return (0);
}
oldsig = signal(SIGINT, succumb);
- crmode();
+ cbreak();
noecho();
screen();
row = rnd(LINES - 3) + 1;