diff options
author | blymn <blymn@NetBSD.org> | 2001-12-06 12:17:57 +0000 |
---|---|---|
committer | blymn <blymn@NetBSD.org> | 2001-12-06 12:17:57 +0000 |
commit | f258f7ee04b15ebed3406288cead1ff3193111ac (patch) | |
tree | 08b3ffb26491c172bdfc84d9864061943865b4a6 /robots | |
parent | 32a0bcae73dd85672ba7efa44f0a61d8235a9388 (diff) | |
download | bsdgames-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.c | 6 |
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) { |