Adapt to termbox 1.1