Error with getch() in python
Getch works just fine for me in my repls, but if another user that doesn't own that repl tries to run the repl, it gives this error:
Does anybody know why it does this? And how to fix it?
@programmeruser @codare I forgot how long ago this was. You should create a .replit file in your repl and paste programmerusers code.
However, getch still throws a fit occasionally in replit so I just switched to getkey. It's basically a drop in replacement for getch.
Input for Getch:
from getch import getch input = getch()
Or getkey, which works in replit is as basically the same
from getkey import getkey input = getkey()