diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-10-06 20:46:49 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-10-06 20:46:49 +0200 |
commit | 349f609f8990a3aca9a4b8faa0585d75e03116db (patch) | |
tree | 02b404547152990ad45eb9eb7736e21b4b4da38e /src/help.c | |
parent | 253b16a4abdad1df350b9ddd9a709520b063934c (diff) | |
download | vim-git-349f609f8990a3aca9a4b8faa0585d75e03116db.tar.gz |
patch 8.2.1807: can use :help in a terminal popup windowv8.2.1807
Problem: Can use :help in a terminal popup window.
Solution: Give an error. (closes #7088)
Diffstat (limited to 'src/help.c')
-rw-r--r-- | src/help.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/help.c b/src/help.c index 4f2b6b69e..4d59ab90e 100644 --- a/src/help.c +++ b/src/help.c @@ -39,6 +39,9 @@ ex_help(exarg_T *eap) int old_KeyTyped = KeyTyped; #endif + if (ERROR_IF_ANY_POPUP_WINDOW) + return; + if (eap != NULL) { // A ":help" command ends at the first LF, or at a '|' that is |