pub unsafe fn winchnstr(win: WINDOW, chstr: *mut chtype, n: i32) -> i32
https://invisible-island.net/ncurses/man/curs_inchstr.3x.html