Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/phantasia Change deprecated curses function calls to n...
details: https://anonhg.NetBSD.org/src/rev/f5b44d225dab
branches: trunk
changeset: 518833:f5b44d225dab
user: blymn <blymn%NetBSD.org@localhost>
date: Thu Dec 06 12:15:37 2001 +0000
description:
Change deprecated curses function calls to new equivalents.
diffstat:
games/phantasia/main.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5a54a2f8a202 -r f5b44d225dab games/phantasia/main.c
--- a/games/phantasia/main.c Thu Dec 06 11:59:45 2001 +0000
+++ b/games/phantasia/main.c Thu Dec 06 12:15:37 2001 +0000
@@ -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 @@
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 @@
if (Windows) {
move(LINES - 2, 0);
refresh();
- nocrmode();
+ nocbreak();
endwin();
}
fclose(Playersfp);
Home |
Main Index |
Thread Index |
Old Index