Skip to content

Waits for enter key to be pressed #15

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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