summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
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/os_mswin.c
parent3b1f18f785f67c6cd110498c366e4d0c0fe11f27 (diff)
downloadvim-git-26e86445bf06ab7e7587dfdf75f33f7c70632b46.tar.gz
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/os_mswin.c')
-rw-r--r--src/os_mswin.c2
1 files changed, 1 insertions, 1 deletions
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
}