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

remove redundant curses calls #42

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

an-prata
Copy link
Contributor

@an-prata an-prata commented Jun 9, 2024

Every time miniplayer closes there's an error from a curses call - looks like its because the curses.endwin() function is called twice, once in the Player.loop() function, and again the the finally clause at the end of the script. PR removes the call in Player.loop() as the call at the script's end should be made every time the program exits. Removing the duplicate call prevents curses from throwing on quit.

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.

1 participant