diff options
-rw-r--r-- | ext/readline/readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c index ab1b0b2a70..ff4c4d0075 100644 --- a/ext/readline/readline.c +++ b/ext/readline/readline.c @@ -182,7 +182,7 @@ getc_body(struct getc_struct *p) ReadConsoleInput(h, &ir, 1, &n); } } else { - rb_w32_wait_events(&h, 1, INFINITE); + rb_w32_wait_events_blocking(&h, 1, INFINITE); } } else { break; |