Skip to content

remove redundant curses calls#42

Open
an-prata wants to merge 1 commit intoGuardKenzie:mainfrom
an-prata:main
Open

remove redundant curses calls#42
an-prata wants to merge 1 commit intoGuardKenzie:mainfrom
an-prata:main

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