From 6ee425e6bb595e31f2f6da3d23ca124b5d417331 Mon Sep 17 00:00:00 2001 From: cpg Date: Mon, 17 Mar 2003 22:48:01 +0000 Subject: [PATCH] Renamed CH_DEL to CH_DELCHR and added a CH_DEL which does the same as 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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/atari.h b/include/atari.h index 4ceadfd62..551a320e7 100644 --- a/include/atari.h +++ b/include/atari.h @@ -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 */