This is not in the SUSv2 specification but is what System V curses does (and it's consistent with box() and border()).
* Added code to __restartwin to restore meta and cursor visibility states * Added code to __stopwin to disable meta. * Added the *line group of functions for drawing character lines.