diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-06-19 17:49:24 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-06-19 17:49:24 +0200 |
commit | 1d4754f96fa5bff1c349cdb71560c55675f50d03 (patch) | |
tree | ee74895e049c81e4d4e7e0ab9f7ea27d8bc3a6e9 /src/globals.h | |
parent | f07f9e731eb97bbdbd1b0b3983750589e4f557a6 (diff) |
patch 8.1.0082: in terminal window, typing : at more prompt, inserts ':'v8.1.0082
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.
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index 22199c90a6..db3a73f2e9 100644 --- a/src/globals.h +++ b/src/globals.h @@ -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 |