commit | 349f609f8990a3aca9a4b8faa0585d75e03116db | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Oct 06 20:46:49 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Oct 06 20:46:49 2020 +0200 |
tree | 02b404547152990ad45eb9eb7736e21b4b4da38e | |
parent | 253b16a4abdad1df350b9ddd9a709520b063934c [diff] [blame] |
patch 8.2.1807: can use :help in a terminal popup window Problem: Can use :help in a terminal popup window. Solution: Give an error. (closes #7088)
diff --git a/src/help.c b/src/help.c index 4f2b6b6..4d59ab9 100644 --- a/src/help.c +++ b/src/help.c
@@ -39,6 +39,9 @@ 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