From b39477d94f78cc79e9a6be958c99e583300ad56e Mon Sep 17 00:00:00 2001 From: blymn Date: Tue, 4 Dec 2001 13:00:24 +0000 Subject: Convert old deprecated curses call to new equivalent. --- battlestar/fly.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'battlestar') 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; -- cgit v1.2.3-56-ge451