Skip to content

Commit 93c92ef

Browse files
committed
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.
1 parent fc8bec0 commit 93c92ef

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/term.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -826,10 +826,11 @@ static struct builtin_term builtin_termcaps[] =
826826
{(int)KS_LE, "\b"},
827827
{(int)KS_VI, IF_EB("\033[?25l", ESC_STR "[?25l")},
828828
{(int)KS_VE, IF_EB("\033[?25h", ESC_STR "[?25h")},
829-
{(int)KS_VS, IF_EB("\033[?12h", ESC_STR "[?12h")},
830829
#if 0
831830
/* 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")},
833834
# ifdef TERMINFO
834835
{(int)KS_CSH, IF_EB("\033[%p1%d q", ESC_STR "[%p1%d q")},
835836
# else

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,8 @@ static char *(features[]) =
769769

770770
static int included_patches[] =
771771
{ /* Add new patch number below this line */
772+
/**/
773+
967,
772774
/**/
773775
966,
774776
/**/

0 commit comments

Comments
 (0)