rc2014 press a key
Posted: Sat Aug 03, 2019 6:52 am
Hi.. Not sure the best place to ask this, sorry if it's in the wrong area.
I'm trying to read a single keypress from STDIN, which is a serial terminal.
I just want to read a single character without waiting for enter, preferably blocking.
I tried a few different things like fgetc_cons and getk but they didn't seem to be implemented on rc2014.
I'm trying to read a single keypress from STDIN, which is a serial terminal.
I just want to read a single character without waiting for enter, preferably blocking.
I tried a few different things like fgetc_cons and getk but they didn't seem to be implemented on rc2014.