Hi everybody, i'm developing a small terminal simulator, and I need to capture a string and special keys at same time but i'm not able to capture these special keys.
Overall I need capture arrow keys to use them how history (equal to a bash terminal).
For the capture string i use mvwaddstr() function.
Any suggestion will be welcome.
First, thanks for the reply
And second, I seem rare than it doesn't exists a solution to unify the capture of a string and these special keys.
So if I wanted to do this there is only one way and this is create a parser of messages with wgetch(), char by char. That lazy! ;(
Best regards. ;)