testing for text input with sfml