In order to use either the ncurses or the pancurses backend, you will need the ncurses library installed on your system.
ncurses
pancurses
pacman -S ncurses
apt-get install libncursesw5-dev
yum install ncurses-devel
zypper install ncurses5-devel
NOTE: On openSUSE Leap 15.3, linking may still fail even after installing the ncurses5-devel package. To fix this:
ncurses5-devel
export NCURSES_RS_RUSTC_FLAGS="-L /usr/lib64/ncurses5"
cargo clean
cargo build
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".
export PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig"
There was an error while loading. Please reload this page.