Emulate VT525's curious glitch (https://gist.github.com/ttdoda/5902671)