A pad is like a window, except that it is not restricted by the screen size, and is not necessarily associated with a particular part of the screen. Pads can be used when a large window is needed, and only a part of the window will be on the screen at one time. By default, the window will extend from the specified position to the lower right corner of the screen. Enter newline mode. This mode translates the return key into newline on input, and translates newline into return and line-feed on output.
Newline mode is initially on.
Leave cbreak mode. Leave newline mode. When the noqiflush routine is used, normal flush of input and output queues associated with the INTR, QUIT and SUSP characters will not be done. Leave raw mode. Returns the number of the color-pair set by the attribute value attr .