Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in pygbag test repl #116

Open
Two119 opened this issue Sep 22, 2023 · 1 comment
Open

Bug in pygbag test repl #116

Two119 opened this issue Sep 22, 2023 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed wontfix This will not be worked on

Comments

@Two119
Copy link

Two119 commented Sep 22, 2023

image
so i just did a little experiment, i imported pygame and tried to run pygame.quit, but i accidentally missed a bracket and pressed enter so i had typed pygame.quit( and now it's just infinitely spouting lines, no matter what i do, even if i press ctrl+c or escape or type in the bracket and press enter, it just continues printing out underscores

pygame-web.github.io_showroom_pygbag.html.-.Google.Chrome.2023-09-22.17-52-53.mp4
@pmp-p pmp-p added bug Something isn't working wontfix This will not be worked on help wanted Extra attention is needed labels Sep 22, 2023
@pmp-p
Copy link
Member

pmp-p commented Sep 25, 2023

the way readline emulation is implemented (js side) it is not easy to fix that.
it would be better (and maybe simpler) to switch to a full async rich repl like https://github.com/prompt-toolkit

pmp-p added a commit that referenced this issue Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants