Skip to content

Regression? Faulty behaviour in PyCharm debug mode - Line break required, character limit not respected #126

Description

@WildRikku

This looks like a regression or variation of #51

A simple decision = readchar.readchar() will not work in PyCharm's debug mode despite terminal emulation being active. Run mode works as expected. In debug mode, I can enter more than one character and also need to press Enter at the end. The resulting string contains all the characters and a line break.

I also noticed, and I am unsure if this is a separate issue, that I need to stop my script twice when readchar.readchar() is active, the first press of the stop button will send a character and only the second press will actually stop my script. I can open a separate issue if this is not related.

Package version is 4.2.1
Python version is 3.12
PyCharm version is 2025.2.1.1

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