mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.0834: :drop command in terminal popup causes problems
Problem: :drop command in terminal popup causes problems. Solution: Check for using a popup window. (closes #6151)
This commit is contained in:
@@ -6349,6 +6349,9 @@ ex_drop(exarg_T *eap)
|
||||
buf_T *buf;
|
||||
tabpage_T *tp;
|
||||
|
||||
if (ERROR_IF_POPUP_WINDOW || ERROR_IF_TERM_POPUP_WINDOW)
|
||||
return;
|
||||
|
||||
/*
|
||||
* Check if the first argument is already being edited in a window. If
|
||||
* so, jump to that window.
|
||||
|
Reference in New Issue
Block a user