Ncurses 6.1 introduces a new terminfo format.
Ncurses 6.1 introduces a new terminfo format.

Documentation says it should have "a different magic number (0542)" (quoting
"man 5 term"). What I see in practice however is a plain number 542. When this
number is present, numbers array is an array of signed 32 bit integers instead
of 16 bit integers. Take that into account when skipping it.

Fixes #185.

nsf/termbox-go,michaeldv/termbox-go,nsf/termbox-go,michaeldv/termbox-go