merge saitoha's patch (https://gist.github.com/saitoha/53ee368980bb06ec9eb1)

	recterm: fix odd behavior with 'print "\033[1;80HA\033[2;80HB";cat'