ccrma / chuck

ChucK Music Programming Language
http://chuck.stanford.edu/
GNU General Public License v2.0
799 stars 127 forks source link

fix KBHit leaving terminal in broken state #443

Closed czarnota closed 2 months ago

czarnota commented 2 months ago

KBHitManager::shutdown() was not called in ChucK::globalCleanup() and terminal state was not restored after shutting down. Calling it seems to fix the problem.

I stumbled upon the problem described in #143. I think this is the solution proposed by @spencersalazar @lathertonj. After this change I am no longer experiencing the problem. Was this intentionally commented out?