Mercurial > vim
comparison src/os_mswin.c @ 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 | aadd1cae2ff5 |
children | 2b2561f8602e |
comparison
equal
deleted
inserted
replaced
20438:1f756e67c0d4 | 20439:d4b2a8675b78 |
---|---|
551 return n; | 551 return n; |
552 } | 552 } |
553 | 553 |
554 #if (defined(FEAT_GUI_MSWIN) && !defined(VIMDLL)) || defined(PROTO) | 554 #if (defined(FEAT_GUI_MSWIN) && !defined(VIMDLL)) || defined(PROTO) |
555 void | 555 void |
556 mch_settmode(int tmode UNUSED) | 556 mch_settmode(tmode_T tmode UNUSED) |
557 { | 557 { |
558 // nothing to do | 558 // nothing to do |
559 } | 559 } |
560 | 560 |
561 int | 561 int |