1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-01-03 14:57:42 -05:00

Added timeout on input to stop 100% cpu usage

This commit is contained in:
James Booth 2012-06-13 23:30:25 +01:00
parent 6bb120200e
commit 32205af079

View File

@ -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)