require io/console to fix STDIN.getch error