1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Set no blocking delay to 100ms

This commit is contained in:
James Booth 2012-10-05 00:42:02 +01:00
parent a6467e17c7
commit 8ecd93049f
2 changed files with 5 additions and 3 deletions

View File

@ -110,7 +110,7 @@ inp_clear(void)
void
inp_non_block(void)
{
wtimeout(inp_win, 20);
wtimeout(inp_win, 100);
}
void

View File

@ -55,10 +55,12 @@ prof_run(const int disable_tls, char *log_level)
GTimer *timer = g_timer_new();
gboolean cmd_result = TRUE;
char inp[INP_WIN_MAX];
int size = 0;
while(cmd_result == TRUE) {
int ch = ERR;
char inp[INP_WIN_MAX];
int size = 0;
size = 0;
while(ch != '\n') {