Re: [cc65] CH_ENTER ?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2010-10-02 22:25:50
Hi!

On Sat, Oct 02, 2010 at 10:02:02PM +0200, Oliver Schmidt wrote:
> > But you can rely on \r and \n being mapped to the right code.
>
> The "right" meaning here for display but not necessarily for keyboard
> input - correct?

For display and file i/o, but keys on the keyboard may generate different
codes.

> So
>
>   #define CH_ENTER /n
>
> might technically happen to work on a certain target but is not
> "correct" as input and output are mixed - correct?

If you make this \n, then yes :-)

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Oct 2 22:26:04 2010

This archive was generated by hypermail 2.1.8 : 2010-10-02 22:26:06 CEST