degesch: fix a libedit crash

This commit is contained in:
Přemysl Eric Janouch 2020-09-02 19:11:10 +02:00
parent ba1c2357af
commit ed7130a664
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 2 additions and 1 deletions

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 *