pull changes from jeaye/ncurses-rs