prom_getchar eats characters