summaryrefslogtreecommitdiffstats
path: root/phantasia/main.c
diff options
context:
space:
mode:
authorblymn <blymn@NetBSD.org>2001-12-06 12:15:37 +0000
committerblymn <blymn@NetBSD.org>2001-12-06 12:15:37 +0000
commit32a0bcae73dd85672ba7efa44f0a61d8235a9388 (patch)
tree179835807c4fadc6abfe6c2ed9a5f802a117ab5b /phantasia/main.c
parent4648e8562ad9621fce352da02f8cbb0216afff8d (diff)
downloadbsdgames-darwin-32a0bcae73dd85672ba7efa44f0a61d8235a9388.tar.gz
bsdgames-darwin-32a0bcae73dd85672ba7efa44f0a61d8235a9388.tar.zst
bsdgames-darwin-32a0bcae73dd85672ba7efa44f0a61d8235a9388.zip
Change deprecated curses function calls to new equivalents.
Diffstat (limited to 'phantasia/main.c')
-rw-r--r--phantasia/main.c6
1 files changed, 3 insertions, 3 deletions
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);