ExZhonya / Codes

simple coding made by highschooler
2 stars 2 forks source link

`getch` blocking `KeyboardInterrupt` #2

Open ShubhamVG opened 3 weeks ago

ShubhamVG commented 3 weeks ago

I am running the game on a linux machine and there is no way to exit out. My hypothesis is that it is because getch is wrapped around a try block so it captures any ctrl c interrupts and returns without any issue. Thus, ignoring the ctrl c interrupts. Can y'all fix it or should I submit a pull request instead?

ExZhonya commented 1 week ago

hello! you can submit a request, but it would be very helpful if you contact me via discord @exzhonya(all lowercase) instead to elaborate!