in reply to Capturing arrow keys on win32, crossplatform
at least a better idea where to search, to capture the arrow keys in a win32 cmd console?Who makes and provides the win32 cmd console?
microsoft console read arrow key => high level console input and output functions <> low level console input functions <> console structures <> key_event_record_str =>
Enhanced keys for the IBM® 101- and 102-key keyboards are the INS, DEL, HOME, END, PAGE UP, PAGE DOWN, and direction keys in the clusters to the left of the keypad; and the divide (/) and ENTER keys in the keypadNow you can reach for Win32::API, or enhance Term::ReadKey or whatever.
update: As far as portability goes, I'd look into Curses.
|
|---|