opensubscriber
   Find in this group all groups
 
Unknown more information…

h : help-ncurses@gnu.org 31 January 2007 • 12:26PM -0500

handling multiple keystrokes with ncurses
by Karthik Sarangan

REPLY TO AUTHOR
 
REPLY TO GROUP




getch() retrieves only one character at a time.

If I press two keys (Eg: UP_ARROW followed by LEFT_ARROW without leaving
UP_ARROW) then I get 259 (UP_ARROW) followed by 260 (LEFT_ARROW).

However if I release them, getch() doesn't return any keycode.

Could someone please explain how multiple key strokes can be handled in ncurses?



_______________________________________________
Help-ncurses mailing list
Help-ncurses@gnu....
http://lists.gnu.org/mailman/listinfo/help-ncurses

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.