tomassedovic/tcod-rs — pull request #38 by tomassedovic (2014-11-15 18:52:29+00:00)
Title: Handle TCODK_NONE in wait_for_keypress correctly

Closing the window while waiting for a keypress will cause libtcod to return a
key type of `TCODK_NONE`.

This should be handled correctly instead of panicking. I don't even know why the
assert was there in the first place.

Fixes #28