degesch: fix a libedit crash
This commit is contained in:
parent
ba1c2357af
commit
ed7130a664
|
@ -789,7 +789,8 @@ input_el__redisplay (void *input)
|
||||||
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