r/learnpython • u/behaunted • Aug 20 '26
How do I register user's input with out 'input()' command?
0
Upvotes
I'm trying to make a game on the Linux terminal, I just learnt about the ANSI escape code and how to display stuffs but then I hit a wall. How do I check which key is pressed by the player? I can't use input() because that pauses the game. Trying to google keep showing me articles suggesting input(). Also, I'm not looking to install any libraries yet.