C - Program interface
Posted: Fri Oct 01, 2004 7:03 pm
Pretend i've got the following prompts that I want to display to a user:
Full Name:
Address:
Phone Number:
I'd like to make it so that the user can use the up/down arrow keys to navigate through prompts. I'm thinking that in order for this to be done i'd need to somehow turn off buffers so that I could "listen" for an up/down keypress and then move the cursor up/down a line? If so how can I do that?
Full Name:
Address:
Phone Number:
I'd like to make it so that the user can use the up/down arrow keys to navigate through prompts. I'm thinking that in order for this to be done i'd need to somehow turn off buffers so that I could "listen" for an up/down keypress and then move the cursor up/down a line? If so how can I do that?