SFML community forums
Help => General => Topic started by: èmji on May 14, 2018, 07:46:47 pm
-
Hello,
I don't know how to use TextEntered properly to let the user enter the name of a file after pressing a key.
What I did is that when the user presses a specific key (the C key), it activate a flag so event handler starts keeping user input in a buffer until the user presses 'Enter'. But this key ('C') is added to the buffer.
How can I avoid that?
Thank you.
-
Enabling user input when C is released rather than pressed should do the job.
-
Thanks!