Updated getch implementation so it does not explode when run with Windows Python