fix terminfo finally thank god
up