[Tutor] Single char input

Alan Gauld alan.gauld at yahoo.co.uk
Fri Oct 25 02:39:52 EDT 2019



On 25 October 2019, at 01:06, Mats Wichmann <mats at wichmann.us> wrote:


>As you'll have seen by the other answers it's quite a bit harder on 
>non-Windows platforms.

To be fair, if you can use curses, and most unlike OS support it, then it's almost as easy. Just use the getchar function after initializing the screen (and you should probably reset the screen afterwards too.)


Alan g


More information about the Tutor mailing list