Install ncurses - gyscos/Cursive GitHub Wiki
In order to use either the ncurses or the pancurses backend, you will need the ncurses library installed on your system.
Archlinux
pacman -S ncurses
Ubuntu
apt-get install libncursesw5-dev
Fedora
yum install ncurses-devel
openSUSE
zypper install ncurses5-devel
NOTE: On openSUSE Leap 15.3, linking may still fail even after installing the ncurses5-devel package. To fix this:
- Run
export NCURSES_RS_RUSTC_FLAGS="-L /usr/lib64/ncurses5"in your shell. - Run
cargo cleanand thencargo build.
macOS
brew install ncurses
NOTE: In order for pkg_config to find this version of ncurses, set
export PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig".