Fix libedit crash
Again, I have no idea why it started to happen, it just occured to me to try to change the call, and it turns out out it works.
This commit is contained in:
parent
f6165164ee
commit
b7c9bfd9f5
|
@ -531,7 +531,8 @@ input_el_redisplay (struct input_el *self)
|
||||||
el_push (self->editline, x);
|
el_push (self->editline, x);
|
||||||
|
|
||||||
// We have to do this or it gets stuck and nothing is done
|
// 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 *
|
static char *
|
||||||
|
|
Loading…
Reference in New Issue