c - Curses getting arrow keys -


In an attempt to get input through curses (ncurses) from the arrow keys, it will not catch in the form of KEY_UP etc. I Keypad function with real logic but getch still returns a escape sequence how can i flip through the given values ​​given by getch () and specifically get arrow key?

I used to call storage getch () as char When they are int, it works perfectly after the switch


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -