Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
How to read arrow key input in the ANSI way?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Walter Roberson, post: 2434841"] Not really. termcap or terminfo give you convenient ways of representing which character sequence means which arrow key. If you have turned off echo and all you need is to know which arrow key has been pressed, then terminfo / termcap or any other such correspondance table would do just as well. If you want to be able to position the cursor to a particular point on the screen, -then- you bring in curses rather than reinventing the wheel. Provided, that is, that you are working with a text-based output rather than a graphical output.... but of course if you are working with graphical output, you are rather distant from the original goal of using pure C to deal with arrow keys. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
How to read arrow key input in the ANSI way?
Top