Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Conversation

@Sketch98
Copy link
Contributor

@Sketch98 Sketch98 commented Aug 6, 2021

To reproduce the bug, start shfm, resize your terminal to trigger SIGWINCH's trap, then exit shfm. You'll notice that icanon and echo are disabled even though term_reset should've reset those. At program start, stty is saved so that it can be restored at exit. SIGWINCH's trap calls term_setup which overwrites stty unnecessarily. I moved stty set out of term_setup to avoid this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant