JonahPearce / DesktopUtilityManager

0 stars 0 forks source link

Issue with hangman taking unwanted character upon startup. #13

Closed ktargosz closed 3 years ago

ktargosz commented 3 years ago

The hangman game takes the newline character from the menu selection and uses it as a blank first input.

ktargosz commented 3 years ago

This was fixed by having a getchr(); upon initialization and flushing stdin/stdout.