nsf/termbox-go — pull request #11 by guelfey (2012-10-16 18:52:25+00:00)
Title: Don't assume even length of names section

When I implemented this part, I thought that as a consequnce of the passage "...to ensure that the number section begins on an even byte" from the `term(5)` manpage, the boolean section must have an even size, but I forgot that the names section may have an odd size, too. So, if the length of both the boolean section and the names section of a terminfo entry were odd, termbox would read false string offsets, possibly resulting in an EOF error. This commit fixes this behaviour.

Fixes #10.