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
Reset terminal on erroneous console exit #6519
Conversation
This ensures that the terminal is resetted on an erroneous exit when using the Icinga 2 console. refs #6382
Nice, this has always been bugging me but never enough to fix it myself ^_^ |
While testing this I noticed I can't reproduce this anymore. Meaning the result with the master and your PR is the same. So I went and looked up Is |
I just tested the master on Debian 9 and I can reproduce #6382.
Notice that this only occurse if you press the tab key. The function From a look I into the library I guess |
(Ok you cannot set it, but terminal 1 is broken, terminal 2 works) |
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.
Thanks 👍
This ensures that the terminal is reset on an erroneous exit when using the Icinga 2 console. The problematic state only occurs if Icinga 2 is compiled with
libedit
support.Test
fixes #6382