I'm doing my own input window with slick, user will need to type something into this. But when I type any letter I get more than one. I assume it depends on CPU, my current bypass is to sleep thread for 100 ms whenever I type. Is there any other way to do this and get only one letter ?