From 32205af079f5fa32460ffb7ecbd30728ee93f02f Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 13 Jun 2012 23:30:25 +0100 Subject: [PATCH] Added timeout on input to stop 100% cpu usage --- input_win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input_win.c b/input_win.c index db5463ed..1a1049ff 100644 --- a/input_win.c +++ b/input_win.c @@ -83,7 +83,7 @@ void inp_clear(void) void inp_non_block(void) { - wtimeout(inp_win, 0); + wtimeout(inp_win, 500); } void inp_block(void)