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