Does anyone know how to flush the input in Slick2D? Say I’m playing my game and I press enter, which does nothing while I’m in game. As soon as I pause it, that enter press get’s registered and selects the first thing in the menu.
I’ve found a pause() and resume() method that completely disables input, but that’s not exactly what I need.
And please don’t suggest libGDX. I know Slick is dying. I don’t really care. I like it.