Open CullenLYe opened 3 months ago
I'm not sure this fix gives the intended behavior here. I believe the user wants the slideshow to keep going, while this change will make it stop. A more ideal resolution is probably to somehow detach the worker process from the terminal so that it doesn't get input anymore.
In response to Issue#197: When a slideshow is running, if the user holds down Ctrl+C (Keyboard Interrupt) and then proceeds to clear the slideshow using the -c flag, a Traceback occurs and is printed to the Terminal:![Screenshot 2024-04-03 105422](https://github.com/LazoCoder/Pokemon-Terminal/assets/59585764/f1e3d309-0a3c-4e89-928a-46eca227d5fb)
I added a try/except block to catch when a Keyboard Interrupt occurs. Now, if the user clears the slideshow, no Traceback is printed:![Screenshot 2024-04-03 105751](https://github.com/LazoCoder/Pokemon-Terminal/assets/59585764/687d436b-7144-4e02-8a19-7f24d757e0b0)