gestire il ritardo di input da tastiera