-
Notifications
You must be signed in to change notification settings - Fork 106
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
No cursor in terminal when exiting #90
Comments
Yeah I've noticed this also - I'm going to take a closer look, because the restore should work. It just takes a snapshot of the current config and applies that back, we must be doing something weird somewhere. |
I checked directly in the terminal, echoing |
ah yeah, so we definitely need to enable the cursor in |
The echo back is correctly handled yes, nevermind that I don't know what went wrong. |
Enable cursor when exiting terminal - closes #90
So I made #89 but it doesn't work as intended.
I think it's the restoreOriginalConfiguration which doesn't work in my case.
Adding enableCursor and enableEchoBack after the stty exec call in restoreOriginalConfiguration (inside php-school/terminal/UnixTerminal.php) makes it work.
(I need to add both, because just adding enableCursor gives the cursor back but removes the echo !!!)
Not sure if real issue or just specific case.
The text was updated successfully, but these errors were encountered: