Fix the ESC timeout in terminal (hopefully)