I'm using ncurses
to make a game. I tried getch()
. When I press a key on the keyboard and don't release it, I can get a sequence of the same char. Here comes the question. There is a small pause between the first char and the second char. I'd like to know how to remove the pause between them and continually get chars from when I press the key. Maybe something like KeyDown in windows programming.
Thanks!