patch 8.1.0082: in terminal window, typing : at more prompt, inserts ':'
Problem: In terminal window, typing : at more prompt, inserts ':' instead
of starting another Ex command.
Solution: Add skip_term_loop and set it when putting ':' in the typeahead
buffer.
diff --git a/src/globals.h b/src/globals.h
index 22199c9..db3a73f 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -371,6 +371,11 @@
# endif
# endif
#endif
+#ifdef FEAT_TERMINAL
+ // When TRUE skip calling terminal_loop() once. Used when
+ // typing ':' at the more prompt.
+EXTERN int skip_term_loop INIT(= FALSE);
+#endif
#ifdef FEAT_GUI
EXTERN char_u *use_gvimrc INIT(= NULL); /* "-U" cmdline argument */
#endif