
and the previous wrefresh() code is split between them. Background character and attribute handling is now done in wnoutrefresh(), thus simplifying the code in doupdate(), makech() and quickch(). Refine xterm workround and test for it earlier - this cuts down the number of lines we test when looking for a scrolled region. Rename unsetattr() to __unsetattr(), so it can be used by __stopwin().