]> git.sur5r.net Git - cc65/commitdiff
Renamed CH_DEL to CH_DELCHR and added a CH_DEL which does the same as
authorcpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 17 Mar 2003 22:48:01 +0000 (22:48 +0000)
committercpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 17 Mar 2003 22:48:01 +0000 (22:48 +0000)
CH_RUBOUT. Now CH_DEL behaves the same on Atari and other platforms.

git-svn-id: svn://svn.cc65.org/cc65/trunk@2033 b7a2c559-68d2-44c3-8de9-860c34a00d81

include/atari.h

index 4ceadfd62e38c321e78c83b0041f5cd15870b07a..551a320e766237597c1c0793f7b4175c5d976e10 100644 (file)
@@ -45,7 +45,7 @@
 
 
 /* Character codes */
-#define CH_DEL                 0xFE
+#define CH_DELCHR      0xFE   /* delete char under the cursor */
 #define CH_ESC                 0x1B
 #define CH_CURS_UP     28
 #define CH_CURS_DOWN   29
@@ -56,7 +56,8 @@
 #define CH_EOL          0x9B   /* end-of-line marker */
 #define CH_CLR          0x7D   /* clear screen */
 #define CH_BEL          0xFD   /* bell */
-#define CH_RUBOUT       0x7E   /* back space (rubout) */
+#define CH_DEL          0x7E   /* back space (delete char to the left) */
+#define CH_RUBOUT       0x7E   /* back space (old, deprecated) */
 #define CH_DELLINE      0x9C   /* delete line */
 #define CH_INSLINE      0x9D   /* insert line */