updated for version 7.0-055
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 3ac20ff..ba3d114 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -5982,6 +5982,8 @@
     typestr[0] = cmdwin_type;
     typestr[1] = NUL;
     apply_autocmds(EVENT_CMDWINENTER, typestr, typestr, FALSE, curbuf);
+    if (restart_edit != 0)	/* autocmd with ":startinsert" */
+	stuffcharReadbuff(K_NOP);
 # endif
 
     i = RedrawingDisabled;