Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
User input #985
To implement text input, you will need to capture several keystrokes and concatenate their text values together as a string. You can also handle the backspace , delete and arrow keys to allow more comfortable editing.
The example https://github.com/liballeg/allegro5/blob/master/examples/nihgui.cpp#L781 shows how this can be done in the small GUI library that we use for the examples.