diff --git a/src/channel.c b/src/channel.c index 5e8c6bd814..9e406abdb2 100644 --- a/src/channel.c +++ b/src/channel.c @@ -945,10 +945,15 @@ invoke_callback(channel_T *channel, char_u *callback, typval_T *argv) clear_tv(&rettv); /* If an echo command was used the cursor needs to be put back where - * it belongs. */ + * it belongs. If highlighting was changed a redraw is needed. */ + update_screen(0); setcursor(); cursor_on(); out_flush(); +#ifdef FEAT_GUI + gui_update_cursor(TRUE, FALSE); + gui_mch_flush(); +#endif } /* diff --git a/src/version.c b/src/version.c index 86ed223177..4d3b32422a 100644 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1452, /**/ 1451, /**/