From ed7130a66455bdea1fff02099ef5ed62fa695c34 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Wed, 2 Sep 2020 19:11:10 +0200 Subject: degesch: fix a libedit crash --- degesch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/degesch.c b/degesch.c index 5ba7a42..0a24d10 100644 --- a/degesch.c +++ b/degesch.c @@ -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 * -- cgit v1.2.3-70-g09d2