pub fn subwin(
    handle: WINDOW,
    size: Size,
    origin: Origin
) -> Result<WINDOW, NCurseswError>
Expand description

Return a sub-window, whose upper-left corner is at origin, and whose width/height is size.

By default, the sub-window will extend from the specified position to the lower right corner of the window.

The sub-window shares memory with the window orig, so that changes made to one window will affect both windows. When using this routine, it is necessary to call touchwin() or touchline() on orig before calling wrefresh() on the sub-window.