Removed useless terminfo wrapping.

Users should manually set the TERMINFO environment variable.
Merge pull request #4581 from k0ral/tmux

tmux: removed useless terminfo wrapping