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