this is to address the problem of hitting a key that cant be printed, it
actually completely locks up the terminal! weird, huh.