updated for version 7.0180
diff --git a/src/main.c b/src/main.c
index 551e980..fd85ea8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -844,6 +844,12 @@
     no_wait_return = FALSE;
     starting = 0;
 
+#ifdef FEAT_TERMRESPONSE
+    /* Requesting the termresponse is postponed until here, so that a "-c q"
+     * argument doesn't make it appear in the shell Vim was started from. */
+    may_req_termresponse();
+#endif
+
     /* start in insert mode */
     if (p_im)
 	need_start_insertmode = TRUE;