mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 19:06:31 +00:00
:digraphs : check for CTRL-C less often #10376
No need to do this so frequently.
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user