Function pancurses::newwin [] [src]

pub fn newwin(nlines: i32, ncols: i32, begy: i32, begx: i32) -> Window

Creates a new window with the given number of lines, nlines and columns, ncols.

The upper left corner of the window is at line begy, column begx. If nlines is zero, it defaults to LINES - begy; ncols to COLS - begx. Create a new full-screen window by calling newwin(0, 0, 0, 0).