Haskell bindings to the terminfo library