help-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

handling multiple keystrokes with ncurses


From: Karthik Sarangan
Subject: handling multiple keystrokes with ncurses
Date: Wed, 31 Jan 2007 09:26:10 +0500
User-agent: Thunderbird 1.5.0.9 (X11/20061206)

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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]