Skip to content

while readchar is running there is no linefeed after each print #53

Closed

Description

@insidewhy

If I run readchar in one thread and then:

print("hello")
print("goodbye")

I get the following output:

hello
     goodbye

Instead of:

hello
goodbye

Activity

  1. insidewhy commented on May 21, 2020

    @insidewhy
    ContributorAuthor

    I think this can be solved by changing this line:

    https://github.com/magmax/python-readchar/blob/master/readchar/readchar_linux.py#L14

    Change setraw to setcbreak.

  2. added a commit that references this issue on May 21, 2020
    1ed1cbf
  3. added a commit that references this issue on Feb 28, 2021
    3317549
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