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

fix: restore normal screen on ctrl-z #477

Merged
merged 1 commit into from Mar 28, 2023
Merged

Conversation

proskur1n
Copy link
Contributor

@proskur1n proskur1n commented May 2, 2021

Checklist
  • I've ensured that similar functionality has not already been implemented
  • I've ensured that similar functionality has not earlier been proposed and declined
  • I've branched off the master or python-dual-support branch
  • I've merged fresh upstream into my branch recently
  • I've ran tox successfully in local environment
  • I've included docstrings and/or documentation and/or examples for my code (if this is a new feature)
Description:

Right now, if you run any urwid example and try to suspend the application with ctrl-z (SIGTSTP), your terminal window will be left in a mess. This fix restores the normal screen buffer on ctrl-z, as urwid already does on exit. The following patch is based on the source code of ncurses.

@penguinolog penguinolog merged commit 6040833 into urwid:master Mar 28, 2023
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

Successfully merging this pull request may close these issues.

None yet

3 participants