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

stty behaviour, pyleabra #18

Open
anargam opened this issue Mar 14, 2021 · 1 comment
Open

stty behaviour, pyleabra #18

anargam opened this issue Mar 14, 2021 · 1 comment

Comments

@anargam
Copy link

anargam commented Mar 14, 2021

I compiled the pyleabra binary from the current version on the ra25.py example. I get a seemingly working GUI and a Python REPL. After quitting both (and confirming that no left-behind process is running), my bash terminal no longer echoes characters typed. Reproduced in X-forwarded sessions on two separate systems. ra25 compiled from go source does not yield this behaviour.

(stty sane resets to normal behaviour, but it seems noteworthy.)

[edit: Python 3.8.5, go 1.13]

@rcoreilly
Copy link
Member

I get this on crashes from python but not from regular exits. probably there is something that needs to be called on exit -- possibly-helpful google result:

https://stackoverflow.com/questions/7938402/terminal-in-broken-state-invisible-text-no-echo-after-exit-during-input

I will also look at how the actual python exe exits -- likely that has the proper fix -- python interactive mode is presumably setting something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants