I have a script automatically detecting the pressed key and printing it but nothing gets printed until the enter key gets pressed
from getkey import getkey, keys
while True:
key = getkey()
print(key, end='')
edit: The problem only occurs when the print function has the end= part
I have a script automatically detecting the pressed key and printing it but nothing gets printed until the enter key gets pressed
from getkey import getkey, keys
while True:
key = getkey()
print(key, end='')
edit: The problem only occurs when the print function has the end= part