summaryrefslogtreecommitdiff
path: root/src/help.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-10-06 20:46:49 +0200
committerBram Moolenaar <Bram@vim.org>2020-10-06 20:46:49 +0200
commit349f609f8990a3aca9a4b8faa0585d75e03116db (patch)
tree02b404547152990ad45eb9eb7736e21b4b4da38e /src/help.c
parent253b16a4abdad1df350b9ddd9a709520b063934c (diff)
downloadvim-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.c3
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