diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-25 21:43:11 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-25 21:43:11 +0200 |
commit | 101e99207f813ca48a4c0787eed9eb8bf67fba5a (patch) | |
tree | 4019ce512a00a611baa0cb84f73c1cf7306ab23e /src/globals.h | |
parent | 0d0c3ca007940cdb64ccbfd0e70846eedfe6a4a6 (diff) |
patch 8.1.2075: get many log messages when waiting for a typed characterv8.1.2075
Problem: Get many log messages when waiting for a typed character.
Solution: Do not repeat the repeated messages when nothing happens.
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index 18f7611e2a..1dcda8f0b2 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1728,3 +1728,9 @@ typedef int HINSTANCE; EXTERN int ctrl_break_was_pressed INIT(= FALSE); EXTERN HINSTANCE g_hinst INIT(= NULL); #endif + +#if defined(FEAT_JOB_CHANNEL) +EXTERN int did_repeated_msg INIT(= 0); +# define REPEATED_MSG_LOOKING 1 +# define REPEATED_MSG_SAFESTATE 2 +#endif |