diff options
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/edit.c b/src/edit.c index 1cf28086d..2ff172273 100644 --- a/src/edit.c +++ b/src/edit.c @@ -4150,6 +4150,15 @@ ins_compl_next(allow_get_expansion, count, insert_match) /* display the updated popup menu */ ins_compl_show_pum(); +#ifdef FEAT_GUI + if (gui.in_use) + { + /* Show the cursor after the match, not after the redrawn text. */ + setcursor(); + out_flush(); + gui_update_cursor(FALSE, FALSE); + } +#endif /* Delete old text to be replaced, since we're still searching and * don't want to match ourselves! */ |