0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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)
This commit is contained in:
Bram Moolenaar
2020-10-06 20:46:49 +02:00
parent 253b16a4ab
commit 349f609f89
3 changed files with 11 additions and 0 deletions

View File

@@ -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