mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.1.1724: too much overhead checking for CTRL-C #10564
Problem: Too much overhead checking for CTRL-C while processing text.
Solution: Increase BREAKCHECK_SKIP. Remove the difference for when built
with the GUI. (suggested by Andy Massimino, closes vim/vim#4708)
b4fe0eb4b4
This commit is contained in:
parent
27fb8933f5
commit
8d66b6091b
@ -2735,7 +2735,7 @@ void preserve_exit(void)
|
||||
*/
|
||||
|
||||
#ifndef BREAKCHECK_SKIP
|
||||
# define BREAKCHECK_SKIP 32
|
||||
# define BREAKCHECK_SKIP 1000
|
||||
#endif
|
||||
|
||||
static int breakcheck_count = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user