diff src/globals.h @ 18160:770987511384 v8.1.2075

patch 8.1.2075: get many log messages when waiting for a typed character Commit: https://github.com/vim/vim/commit/101e99207f813ca48a4c0787eed9eb8bf67fba5a Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 25 21:43:11 2019 +0200 patch 8.1.2075: get many log messages when waiting for a typed character Problem: Get many log messages when waiting for a typed character. Solution: Do not repeat the repeated messages when nothing happens.
author Bram Moolenaar <Bram@vim.org>
date Wed, 25 Sep 2019 21:45:03 +0200
parents 2a806e3c39f6
children e0ec4cd7a865
line wrap: on
line diff
--- 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