resolve the failure to parse reads from the terminal that contained 2 or more ESC prefixed keys.