summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-17 14:06:16 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-17 14:06:16 +0200
commit26e86445bf06ab7e7587dfdf75f33f7c70632b46 (patch)
tree06de58be8af393479646d44e4e20aa554c22f28f /src/globals.h
parent3b1f18f785f67c6cd110498c366e4d0c0fe11f27 (diff)
patch 8.2.0774: t_TI and t_TE are output when using 'visualbell'v8.2.0774
Problem: t_TI and t_TE are output when using 'visualbell'. (Dominique Pelle) Solution: Do not change the terminal mode for a short sleep. Do not output t_TI and t_TE when switching to/from TMODE_SLEEP. Make tmode an enum.
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/globals.h b/src/globals.h
index 11e06be7ee..60c3c668b8 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1171,7 +1171,7 @@ EXTERN volatile sig_atomic_t got_int INIT(= FALSE); // set to TRUE when interrup
EXTERN int term_console INIT(= FALSE); // set to TRUE when console used
#endif
EXTERN int termcap_active INIT(= FALSE); // set by starttermcap()
-EXTERN int cur_tmode INIT(= TMODE_COOK); // input terminal mode
+EXTERN tmode_T cur_tmode INIT(= TMODE_COOK); // input terminal mode
EXTERN int bangredo INIT(= FALSE); // set to TRUE with ! command
EXTERN int searchcmdlen; // length of previous search cmd
#ifdef FEAT_SYN_HL