pub unsafe fn getnstr(str: *mut i8, n: i32) -> i32
https://invisible-island.net/ncurses/man/curs_getstr.3x.html