readd terminfo to GHC. built in terminfo does not work yet