degesch: fix a libedit crash

This commit is contained in:
2020-09-02 19:11:10 +02:00
parent ba1c2357af
commit ed7130a664

View File

@@ -789,7 +789,8 @@ input_el__redisplay (void *input)
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 *