From 32a0bcae73dd85672ba7efa44f0a61d8235a9388 Mon Sep 17 00:00:00 2001 From: blymn Date: Thu, 6 Dec 2001 12:15:37 +0000 Subject: Change deprecated curses function calls to new equivalents. --- phantasia/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phantasia/main.c') diff --git a/phantasia/main.c b/phantasia/main.c index 034a2c49..d8e9a7a8 100644 --- a/phantasia/main.c +++ b/phantasia/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.9 1999/09/13 17:15:43 jsm Exp $ */ +/* $NetBSD: main.c,v 1.10 2001/12/06 12:15:37 blymn Exp $ */ /* * Phantasia 3.3.2 -- Interterminal fantasy game @@ -981,7 +981,7 @@ playinit() initscr(); /* turn on curses */ noecho(); /* do not echo input */ - crmode(); /* do not process erase, kill */ + cbreak(); /* do not process erase, kill */ clear(); refresh(); Windows = TRUE; /* mark the state */ @@ -994,7 +994,7 @@ cleanup(doexit) if (Windows) { move(LINES - 2, 0); refresh(); - nocrmode(); + nocbreak(); endwin(); } fclose(Playersfp); -- cgit v1.2.3-56-ge451