-
Notifications
You must be signed in to change notification settings - Fork 119
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
On h.quit() terminal settings are same as when neuron.hoc was imported. #3259
Conversation
system("stty sane") errcode is 139.
✔️ dd7514a -> Azure artifacts URL |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3259 +/- ##
==========================================
- Coverage 67.08% 67.08% -0.01%
==========================================
Files 571 571
Lines 111116 111116
==========================================
- Hits 74540 74539 -1
- Misses 36576 36577 +1 ☔ View full report in Codecov by Sentry. |
This comment has been minimized.
This comment has been minimized.
✔️ 1c58958 -> Azure artifacts URL |
This comment has been minimized.
This comment has been minimized.
✔️ c8c5b7b -> Azure artifacts URL |
This comment has been minimized.
This comment has been minimized.
✔️ 8ed8314 -> Azure artifacts URL |
Quality Gate passedIssues Measures |
✔️ 6309927 -> Azure artifacts URL |
I think part of this was merged in #3243, but I guess the new |
The check is needed to prevent an irrelevant error message(s) when stdin is not a terminal. For example, at the moment with the current master
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can confirm that this fixes the issue when we don't use stdin as input, so it's good to go.
On h.quit() ensure terminal settings are same as when neuron.hoc was imported. This is most important with
NEURONMainMenu/File/Quit which would leave terminal in raw readline state with no input echoing and no return before linefeed when newline was printed. I.e. Consider the following when at the prompt, NEURONMainMenu/File/Quit is selected, and on exit, stty is typed at the terminal shell $ prompt (no echoing of stty)