Haskell bindings to the terminfo API.