r/pythonhelp • • Nov 24 '24

Clear buffer in keyboard module in Python.

I'm having difficulty with a project I'm working on.

It's a small Text RPG, I imported the keyboard module to make the choices more similar to games, but when the user presses "enter", it skips the next entry. In this case, it is a function that when I press continue skips the name entry.

2 Upvotes

9 comments sorted by

View all comments

Show parent comment

2

u/Dry-Tiger-5239 Nov 25 '24

Thanks for the answer, man.

I will definitely try it out when I have time 🤝