It looks like there's a few other error cases here, perhaps such as failing to parse the terminfo database, perhaps those could be mentioned?