commit | 5aed0ccb965dbad4b60f4c77c9c4455a9379e73c | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue May 12 22:02:21 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue May 12 22:02:21 2020 +0200 |
tree | 8347858e800403f8fa07f1fd7b7993b5f18dac4b | |
parent | 48a687148c4649f6f55b36a1f4111041e7207235 [diff] [blame] |
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)
diff --git a/src/normal.c b/src/normal.c index 7dd74a4..690bb00 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -4169,6 +4169,10 @@ clearop(cap->oap); return; } +#ifdef FEAT_PROP_POPUP + if (ERROR_IF_TERM_POPUP_WINDOW) + return; +#endif ptr = grab_file_name(cap->count1, &lnum);