summaryrefslogtreecommitdiff
path: root/games/bsdgames/files/patch-phantasia::phantdefs.h
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2003-09-10 10:05:42 +0000
committerGreg Lewis <glewis@FreeBSD.org>2003-09-10 10:05:42 +0000
commit9963fdefa58707e45f08a31ee27c955311d80021 (patch)
treefab34b19b1f83b2eb78903223f7c132c5b50d14e /games/bsdgames/files/patch-phantasia::phantdefs.h
parentRelease the port to ports@, reason: ENOTIME. (diff)
. Treat carriage returns the same as linefeeds when entering data. This
allows the Enter key to work correctly when entering a name. PR: 34759
Notes
Notes: svn path=/head/; revision=88918
Diffstat (limited to 'games/bsdgames/files/patch-phantasia::phantdefs.h')
-rw-r--r--games/bsdgames/files/patch-phantasia::phantdefs.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/bsdgames/files/patch-phantasia::phantdefs.h b/games/bsdgames/files/patch-phantasia::phantdefs.h
new file mode 100644
index 000000000000..bb9328acb189
--- /dev/null
+++ b/games/bsdgames/files/patch-phantasia::phantdefs.h
@@ -0,0 +1,13 @@
+Index: phantasia/phantdefs.h
+===================================================================
+RCS file: /var/fcvs/src/games/phantasia/Attic/phantdefs.h,v
+retrieving revision 1.1.1.1
+diff -u -r1.1.1.1 phantdefs.h
+--- phantasia/phantdefs.h 4 Sep 1994 04:03:06 -0000 1.1.1.1
++++ phantasia/phantdefs.h 10 Sep 2003 09:53:25 -0000
+@@ -136,4 +136,5 @@
+ #define CH_KILL '\030' /* kill character (ctrl-X) */
+ #define CH_ERASE '\010' /* erase character (ctrl-H) */
+ #define CH_NEWLINE '\n' /* newline */
++#define CH_CR '\r' /* carriage return */
+ #define CH_REDRAW '\014' /* redraw screen character (ctrl-L) */