1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2018-06-19 17:49:24 +02:00
parent f07f9e731e
commit 1d4754f96f
4 changed files with 21 additions and 2 deletions

View File

@@ -371,6 +371,11 @@ EXTERN int highlight_stltermnc[9]; /* On top of user */
# 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