LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   C programming ncurses Input question (https://www.linuxquestions.org/questions/programming-9/c-programming-ncurses-input-question-4175447561/)

errigour 01-28-2013 11:30 AM

C programming ncurses Input question
 
Ok here is the game that i'm working on:
http://o0oo0.net16.net/shared/main.version.0.02.tar.gz

When you hold a key, the computer waits like one second or so before repeating the input, I was wondering if I can get rid of that one second pause so that if I hold left arrow down then linux will instantly start automatically filling the input buffer.

Also if you want read http://o0oo0.net16.net/shared/

smallpond 01-28-2013 04:05 PM

Initial delay and repeat rate are done by the keyboard. You can ask to change them with the kbdrate command, but it depends on your specific keyboard type whether or not it will listen.


All times are GMT -5. The time now is 04:22 PM.