mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
:digraphs : check for CTRL-C less often #10376
No need to do this so frequently.
This commit is contained in:
parent
72ae0a6e5e
commit
0480e991d2
@ -18,6 +18,7 @@
|
||||
#include "nvim/ex_docmd.h"
|
||||
#include "nvim/ex_getln.h"
|
||||
#include "nvim/getchar.h"
|
||||
#include "nvim/misc1.h"
|
||||
#include "nvim/mbyte.h"
|
||||
#include "nvim/message.h"
|
||||
#include "nvim/memory.h"
|
||||
@ -1663,13 +1664,13 @@ void listdigraphs(void)
|
||||
printdigraph(&tmp);
|
||||
}
|
||||
dp++;
|
||||
os_breakcheck();
|
||||
fast_breakcheck();
|
||||
}
|
||||
|
||||
dp = (digr_T *)user_digraphs.ga_data;
|
||||
for (int i = 0; i < user_digraphs.ga_len && !got_int; ++i) {
|
||||
printdigraph(dp);
|
||||
os_breakcheck();
|
||||
fast_breakcheck();
|
||||
dp++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user