Skip to content

Ask ncurses where the terminfo database is

Henri Menke requested to merge hmenke/spack-environments:patch-2 into releases/23c

Currently this is hardcoded as /lib/terminfo/, but there might be others. In fact on Ubuntu terminfo can be in any of

$ infocmp -D
/etc/terminfo
/lib/terminfo
/usr/share/terminfo

whereas on OpenSUSE

$ infocmp -D
/etc/terminfo
/usr/share/terminfo

Merge request reports