Fix the redraw issues with screen scrolling and other xterm commands.
Fix the redraw issues with screen scrolling and other xterm commands.

jmolloy/pedigree,jmolloy/pedigree,jmolloy/pedigree,jmolloy/pedigree,jmolloy/pedigree,jmolloy/pedigree,jmolloy/pedigree