Change deprecated curses function calls to new equivalents.

This commit is contained in:
blymn 2001-12-06 12:15:37 +00:00
parent 7d6d5f042f
commit b74595a200
1 changed files with 3 additions and 3 deletions

View File

@ -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);