diff options
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/edit.c b/src/edit.c index 013fc5abc..2bcfc42a4 100644 --- a/src/edit.c +++ b/src/edit.c @@ -3467,10 +3467,14 @@ ins_compl_addleader(c) (*mb_char2bytes)(c, buf); buf[cc] = NUL; ins_char_bytes(buf, cc); + AppendToRedobuff(buf); } else #endif + { ins_char(c); + AppendCharToRedobuff(c); + } /* If we didn't complete finding matches we must search again. */ if (ins_compl_need_restart()) |