Re: [cc65] Input string routine for a line of data?

From: Oliver Schmidt <ol.sc1web.de>
Date: 2011-06-06 18:41:19
Hi,

> Both gets() and fgets() at first acccept my input but then, when I press
> Enter, ask for more input then do the same with the cursor indented.  I can
> always borrow the input routine from my dead adventure game.  BTW: I use
> cc65 v. 2.13.2.

A loop over cgetc() until CH_ENTER was read is most likely what you're
after: Low overhead, full control, still platform independent.

Regards,
Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Jun 6 18:43:06 2011

This archive was generated by hypermail 2.1.8 : 2011-06-06 18:43:10 CEST