Use the two-reads fix for the additional escapes as well.

See commit e153bd8 for more information.
The gist is that slow terminals may return a short read of 1 byte.