JRuby

StringScanner#getch does not work correctly