What is the most standard method of capturing the unique codes of keys pressed? I'm writing a program and is using ncurses library. I would like to write a routine which will allow me to control the data entry for a string of characters with editing functions (backspace, insert keys and arrow keys). What is the most standard and correct method to capture the keys pressed?
- Re: Capturing key codes. Philip Tong
- Re: Capturing key codes. Glynn Clements