diff --git a/xC.c b/xC.c index 2de5c92..c784bba 100644 --- a/xC.c +++ b/xC.c @@ -1057,6 +1057,8 @@ input_el__bottom (struct input_el *self) (void) el_wgets (self->editline, &dummy_count); } + // Otherwise input may survive our erasing, reproducer: a^Rb^[^N + input_el_clear_line (self); el_wset (self->editline, EL_SETFP, 1, out); }