Set no blocking delay to 100ms
This commit is contained in:
@@ -110,7 +110,7 @@ inp_clear(void)
|
|||||||
void
|
void
|
||||||
inp_non_block(void)
|
inp_non_block(void)
|
||||||
{
|
{
|
||||||
wtimeout(inp_win, 20);
|
wtimeout(inp_win, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -55,10 +55,12 @@ prof_run(const int disable_tls, char *log_level)
|
|||||||
GTimer *timer = g_timer_new();
|
GTimer *timer = g_timer_new();
|
||||||
gboolean cmd_result = TRUE;
|
gboolean cmd_result = TRUE;
|
||||||
|
|
||||||
|
char inp[INP_WIN_MAX];
|
||||||
|
int size = 0;
|
||||||
|
|
||||||
while(cmd_result == TRUE) {
|
while(cmd_result == TRUE) {
|
||||||
int ch = ERR;
|
int ch = ERR;
|
||||||
char inp[INP_WIN_MAX];
|
size = 0;
|
||||||
int size = 0;
|
|
||||||
|
|
||||||
while(ch != '\n') {
|
while(ch != '\n') {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user