From 5aed0ccb965dbad4b60f4c77c9c4455a9379e73c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 12 May 2020 22:02:21 +0200 Subject: patch 8.2.0743: can move to another buffer from a terminal in popup window Problem: Can move to another buffer from a terminal in popup window. Solution: Do not allow "gf" or editing a file. (closes #6072) --- src/normal.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/normal.c') diff --git a/src/normal.c b/src/normal.c index 7dd74a40b..690bb0081 100644 --- a/src/normal.c +++ b/src/normal.c @@ -4169,6 +4169,10 @@ nv_gotofile(cmdarg_T *cap) clearop(cap->oap); return; } +#ifdef FEAT_PROP_POPUP + if (ERROR_IF_TERM_POPUP_WINDOW) + return; +#endif ptr = grab_file_name(cap->count1, &lnum); -- cgit v1.2.1