comparison src/term.c @ 12174:c314cd883fcc v8.0.0967

patch 8.0.0967: using a terminal may cause the cursor to blink commit https://github.com/vim/vim/commit/93c92eff26cbf6b1f1a81891ebaf53ee3fb86d51 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 19 21:11:57 2017 +0200 patch 8.0.0967: using a terminal may cause the cursor to blink Problem: Using a terminal may cause the cursor to blink. Solution: Do not set t_vs, since we cannot restore the old blink state.
author Christian Brabandt <cb@256bit.org>
date Sat, 19 Aug 2017 21:15:04 +0200
parents 444793fce117
children 76fbd85c3cea
comparison
equal deleted inserted replaced
12173:d20785cc7955 12174:c314cd883fcc
824 {(int)KS_MS, "y"}, 824 {(int)KS_MS, "y"},
825 {(int)KS_UT, "y"}, 825 {(int)KS_UT, "y"},
826 {(int)KS_LE, "\b"}, 826 {(int)KS_LE, "\b"},
827 {(int)KS_VI, IF_EB("\033[?25l", ESC_STR "[?25l")}, 827 {(int)KS_VI, IF_EB("\033[?25l", ESC_STR "[?25l")},
828 {(int)KS_VE, IF_EB("\033[?25h", ESC_STR "[?25h")}, 828 {(int)KS_VE, IF_EB("\033[?25h", ESC_STR "[?25h")},
829 {(int)KS_VS, IF_EB("\033[?12h", ESC_STR "[?12h")},
830 #if 0 829 #if 0
831 /* This is currently disabled, because we cannot reliably restore the 830 /* This is currently disabled, because we cannot reliably restore the
832 * cursor because of what appears to be an xterm bug. */ 831 * cursor style because of what appears to be an xterm bug. */
832 {(int)KS_VE, IF_EB("\033[?25h\033[?12l", ESC_STR "[?25h" ESC_STR "[?12l")},
833 {(int)KS_VS, IF_EB("\033[?12h", ESC_STR "[?12h")},
833 # ifdef TERMINFO 834 # ifdef TERMINFO
834 {(int)KS_CSH, IF_EB("\033[%p1%d q", ESC_STR "[%p1%d q")}, 835 {(int)KS_CSH, IF_EB("\033[%p1%d q", ESC_STR "[%p1%d q")},
835 # else 836 # else
836 {(int)KS_CSH, IF_EB("\033[%d q", ESC_STR "[%d q")}, 837 {(int)KS_CSH, IF_EB("\033[%d q", ESC_STR "[%d q")},
837 # endif 838 # endif