bytbox/termbox-go — pull request #1 by bytbox (2012-01-29 03:03:58+00:00)
Title: Fix double-free issue

Calling Shutdown twice yields a double-free - likewise, calling Init twice will have unpredictable results. This changes the semantics of tb_shutdown to mean "ensure already shut down", and has init return a proper error on duplicate call.