nsf/termbox — pull request #14 by ssharunas (2012-08-11 17:02:28+00:00)
Title: Few small fixes

Fixed segfault when TERM enviroment variable is not set.
Added in/out descriptors closing in case of error in tb_init() (I'm not sure if that is needed at all, since after failed initialization there is nothing else to do as just fail and exit, but it wont hurt to be on safe side :))