mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-05 04:47:57 +08:00

This didn't work on platforms where tput exists but can never accept terminfo names. This includes the current versions of FreeBSD - it used to do both, now it doesn't. So, fall back to the old termcap names by (tput smso; or tput so). Add check for the tput program before we even try.