Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 01-28-2013, 12:30 PM   #1
Registered: May 2009
Posts: 291

Rep: Reputation: 6
C programming ncurses Input question

Ok here is the game that i'm working on:

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

Last edited by errigour; 01-28-2013 at 12:55 PM.
Old 01-28-2013, 05:05 PM   #2
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,853

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] C++ api example for ncurses programming vectrum Programming 3 01-17-2012 06:30 AM
Programming in C using ncurses msaslin Programming 1 05-03-2010 11:52 AM
Programming with NCurses indienick Programming 7 07-11-2006 03:56 PM
C programming HELP, ncurses window functions naomi Programming 3 02-06-2005 06:54 AM
Parallel programming with ncurses problem StressedLemming Programming 4 02-26-2004 12:54 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration