
January 18th, 2006, 04:44 PM
|
|
Registered User
|
|
Join Date: Jan 2006
Posts: 7
Time spent in forums: 1 h 10 m 47 sec
Reputation Power: 0
|
|
|
Keyboard input in Linux
Hi,
getch() from conio.h in win32 accepts a single char from the keyboard.
getch() from curses.h in Linux doesn't seem to work in the same way, requiring me to press enter after typing. Infact, I'm not even sure what it's doing.
I would like to create a console application that uses Ascii to create a menu. I want the user to press a key and the program to respond immediately without them having to press enter after each submission of a character.
The language is C.
Many thanks for any help.
|