only do terminal magic if we have infocmp

This commit is contained in:
David Alexander Majnemer 2009-01-23 14:49:04 -06:00
parent 10d017a3c0
commit c04f430760

View file

@ -48,6 +48,7 @@ fix_terminfo_db ()
fi
}
if ( command -v infocmp >/dev/null 2>&1 ) ; then
# terminal surgery
case `uname -s` in
Interix)
@ -77,3 +78,4 @@ case $TERM in
alias screen="screen -T `fix_term screen-256color-bce`"
;;
esac
fi