diff options
| author | Přemysl Eric Janouch <p@janouch.name> | 2020-09-02 19:11:10 +0200 |
|---|---|---|
| committer | Přemysl Eric Janouch <p@janouch.name> | 2020-09-02 20:00:10 +0200 |
| commit | ed7130a66455bdea1fff02099ef5ed62fa695c34 (patch) | |
| tree | 457a5b53959451ead9073e89d5e69137ebb4fd3d | |
| parent | ba1c2357af62a61e8084d77783868a10815b8556 (diff) | |
| download | xK-ed7130a66455bdea1fff02099ef5ed62fa695c34.tar.gz xK-ed7130a66455bdea1fff02099ef5ed62fa695c34.tar.xz xK-ed7130a66455bdea1fff02099ef5ed62fa695c34.zip | |
degesch: fix a libedit crash
| -rw-r--r-- | degesch.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 * |
