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:
parent
6bb120200e
commit
32205af079
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user