Skip to content

Waits for enter key to be pressed #15

@SuperSonyk

Description

@SuperSonyk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions