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:
parent
a6467e17c7
commit
8ecd93049f
@ -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') {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user