aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--json-rpc-shell.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/json-rpc-shell.c b/json-rpc-shell.c
index cbacff8..b11ce8c 100644
--- a/json-rpc-shell.c
+++ b/json-rpc-shell.c
@@ -531,7 +531,8 @@ input_el_redisplay (struct input_el *self)
el_push (self->editline, x);
// We have to do this or it gets stuck and nothing is done
- (void) el_gets (self->editline, NULL);
+ int count = 0;
+ (void) el_wgets (self->editline, &count);
}
static char *