[EMAIL PROTECTED] wrote:
I am writing a curses application, but the getch() does not seem to
give me all I want. Of course, if I press d, it returns an ord(d)
and so on. But I want to be able to detect whether alt, shift or ctrl
has been pressed also. Shift is normally covered by returning an
On Tue, 26 Jun 2007 22:37:16 +0200, Laszlo Nagy [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
I am writing a curses application, but the getch() does not seem to
give me all I want. Of course, if I press d, it returns an ord(d)
and so on. But I want to be able to detect whether alt, shift
I am writing a curses application, but the getch() does not seem to
give me all I want. Of course, if I press d, it returns an ord(d)
and so on. But I want to be able to detect whether alt, shift or ctrl
has been pressed also. Shift is normally covered by returning an
uppercase character instead