diff options
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index 7f8142e322..68ee584655 100644 --- a/src/globals.h +++ b/src/globals.h @@ -9,6 +9,8 @@ #ifndef NEOVIM_GLOBALS_H #define NEOVIM_GLOBALS_H +#include <stdbool.h> + #include "ex_eval.h" #include "mbyte.h" #include "menu.h" @@ -1131,6 +1133,12 @@ EXTERN FILE *time_fd INIT(= NULL); /* where to write startup timing */ EXTERN int ignored; EXTERN char *ignoredp; +/* Temporarily moved these static variables to assist in migrating from + * os_unix.c */ +EXTERN int curr_tmode INIT(= TMODE_COOK); /* contains current terminal mode */ +/* volatile because it is used in signal handler deathtrap(). */ +EXTERN volatile bool in_mch_delay INIT(= false); /* sleeping in mch_delay() */ + /* * Optional Farsi support. Include it here, so EXTERN and INIT are defined. */ |