Key input should be consumed to prevent WaitForKey event from being always triggered and potential buffer overflow. This fixes issue #26. Signed-off-by: Kagurazaka Kotori <kagurazakakotori@gmail.com>