Re: a simple keypress sensor

2009-04-10 Thread cassiope
On Apr 9, 6:55 pm, Soumen banerjee wrote: > Hello, > I am writing a little program where i have an array the elements of > which i want to display upon keypresses by the user. The only way on > linux seems like using getch() from the curses library. I wanted a > simpler solution than having to use

a simple keypress sensor

2009-04-09 Thread Soumen banerjee
Hello, I am writing a little program where i have an array the elements of which i want to display upon keypresses by the user. The only way on linux seems like using getch() from the curses library. I wanted a simpler solution than having to use curses for such a simple thing. any ideas? Regards S