From 8996a12d825a937c05d8d604c986ceb57a911e00 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 6 Mar 2021 21:24:19 -0500 Subject: [PATCH] vim-patch:8.2.1513: cannot interrupt shell used for filename expansion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: Cannot interrupt shell used for filename expansion. (Dominique Pellé) Solution: Do set tmode in mch_delay(). (closes vim/vim#6770) https://github.com/vim/vim/commit/0981c8729e09551f2e8e6c159bc29f2c1d04019c Neovim does not run settmode() in os_delay() so this patch is mostly N/A. Do not port Vim's flags (ie. MCH_DELAY_SETTMODE) for mch_delay(). --- src/nvim/if_cscope.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c index 2dad8fb781..31615e744a 100644 --- a/src/nvim/if_cscope.c +++ b/src/nvim/if_cscope.c @@ -1865,7 +1865,7 @@ static void cs_release_csp(size_t i, bool freefnpp) alive = false; // cscope process no longer exists break; } - os_delay(50L, false); // sleep 50ms + os_delay(50L, false); // sleep 50 ms } } if (alive)