mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56: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_docmd.h"
|
||||||
#include "nvim/ex_getln.h"
|
#include "nvim/ex_getln.h"
|
||||||
#include "nvim/getchar.h"
|
#include "nvim/getchar.h"
|
||||||
|
#include "nvim/misc1.h"
|
||||||
#include "nvim/mbyte.h"
|
#include "nvim/mbyte.h"
|
||||||
#include "nvim/message.h"
|
#include "nvim/message.h"
|
||||||
#include "nvim/memory.h"
|
#include "nvim/memory.h"
|
||||||
@@ -1663,13 +1664,13 @@ void listdigraphs(void)
|
|||||||
printdigraph(&tmp);
|
printdigraph(&tmp);
|
||||||
}
|
}
|
||||||
dp++;
|
dp++;
|
||||||
os_breakcheck();
|
fast_breakcheck();
|
||||||
}
|
}
|
||||||
|
|
||||||
dp = (digr_T *)user_digraphs.ga_data;
|
dp = (digr_T *)user_digraphs.ga_data;
|
||||||
for (int i = 0; i < user_digraphs.ga_len && !got_int; ++i) {
|
for (int i = 0; i < user_digraphs.ga_len && !got_int; ++i) {
|
||||||
printdigraph(dp);
|
printdigraph(dp);
|
||||||
os_breakcheck();
|
fast_breakcheck();
|
||||||
dp++;
|
dp++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user