ghc 7.8.3 includes terminfo now