From 26e86445bf06ab7e7587dfdf75f33f7c70632b46 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 17 May 2020 14:06:16 +0200 Subject: 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. --- src/os_mswin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os_mswin.c') diff --git a/src/os_mswin.c b/src/os_mswin.c index 1c987c2d6..80009533c 100644 --- a/src/os_mswin.c +++ b/src/os_mswin.c @@ -553,7 +553,7 @@ vim_stat(const char *name, stat_T *stp) #if (defined(FEAT_GUI_MSWIN) && !defined(VIMDLL)) || defined(PROTO) void -mch_settmode(int tmode UNUSED) +mch_settmode(tmode_T tmode UNUSED) { // nothing to do } -- cgit v1.2.1