Mercurial > vim
comparison src/globals.h @ 20439:d4b2a8675b78 v8.2.0774
patch 8.2.0774: t_TI and t_TE are output when using 'visualbell'
Commit: https://github.com/vim/vim/commit/26e86445bf06ab7e7587dfdf75f33f7c70632b46
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 17 14:06:16 2020 +0200
patch 8.2.0774: t_TI and t_TE are output when using 'visualbell'
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 17 May 2020 14:15:07 +0200 |
parents | e29b2ec8d4d2 |
children | bed30e6b5a09 |
comparison
equal
deleted
inserted
replaced
20438:1f756e67c0d4 | 20439:d4b2a8675b78 |
---|---|
1169 // signal occurred | 1169 // signal occurred |
1170 #ifdef USE_TERM_CONSOLE | 1170 #ifdef USE_TERM_CONSOLE |
1171 EXTERN int term_console INIT(= FALSE); // set to TRUE when console used | 1171 EXTERN int term_console INIT(= FALSE); // set to TRUE when console used |
1172 #endif | 1172 #endif |
1173 EXTERN int termcap_active INIT(= FALSE); // set by starttermcap() | 1173 EXTERN int termcap_active INIT(= FALSE); // set by starttermcap() |
1174 EXTERN int cur_tmode INIT(= TMODE_COOK); // input terminal mode | 1174 EXTERN tmode_T cur_tmode INIT(= TMODE_COOK); // input terminal mode |
1175 EXTERN int bangredo INIT(= FALSE); // set to TRUE with ! command | 1175 EXTERN int bangredo INIT(= FALSE); // set to TRUE with ! command |
1176 EXTERN int searchcmdlen; // length of previous search cmd | 1176 EXTERN int searchcmdlen; // length of previous search cmd |
1177 #ifdef FEAT_SYN_HL | 1177 #ifdef FEAT_SYN_HL |
1178 EXTERN int reg_do_extmatch INIT(= 0); // Used when compiling regexp: | 1178 EXTERN int reg_do_extmatch INIT(= 0); // Used when compiling regexp: |
1179 // REX_SET to allow \z\(...\), | 1179 // REX_SET to allow \z\(...\), |