The mvwin() function moves the specified window (or subwindow), placing its upper left corner at the positions specified by x and y.
The entire window must fit within the physical boundaries of the screen or an error results. In the case of a subwindow, the window must remain within the boundaries of the parent window.