commit 0d82c695b43613c6508e266c083e619188143d6d from: Omar Polo date: Sun Jun 23 21:16:35 2024 UTC minibuffer: fix insertion of candidate we missed to update the vline.cplen field when inserting a candidate in the minibuffer. commit - 2f0ffab47b34449e9e24a05e408e9d6983b24ba8 commit + 0d82c695b43613c6508e266c083e619188143d6d blob - 68e4e85b92815c076662c309cd47275d90bf0643 blob + d9af26cdb424daf1902c40e14b41286b33ac513c --- minibuffer.c +++ minibuffer.c @@ -170,7 +170,7 @@ minibuffer_insert_current_candidate(void) minibuffer_taint_hist(); strlcpy(ministate.buf, vl->parent->line, sizeof(ministate.buf)); - ministate.buffer.cpoff = utf8_cplen(ministate.buf); + ministate.buffer.cpoff = ministate.vline.cplen = utf8_cplen(ministate.buf); return 0; }