1
0
forked from aniani/vim

patch 8.0.0973: initial info about blinking cursor is wrong

Problem:    initial info about blinking cursor is wrong
Solution:   Invert the blink flag.  Add t_VS to stop a blinking cursor.
This commit is contained in:
Bram Moolenaar
2017-08-20 15:05:15 +02:00
parent 37b9b81997
commit ce1c32780a
6 changed files with 37 additions and 38 deletions

View File

@@ -38,7 +38,6 @@
* in tl_scrollback are no longer used.
*
* TODO:
* - help index for winptydll, optwin entry for winptydll
* - make [range]terminal pipe [range] lines to the terminal
* - implement term_setsize()
* - add test for giving error for invalid 'termsize' value.
@@ -1271,8 +1270,6 @@ may_set_cursor_props(term_T *term)
term_cursor_color(term->tl_cursor_color);
else
term_cursor_color((char_u *)"");
/* do both blink and shape+blink, in case setting shape does not work */
term_cursor_blink(term->tl_cursor_blink);
term_cursor_shape(term->tl_cursor_shape, term->tl_cursor_blink);
}
}
@@ -1288,7 +1285,6 @@ may_restore_cursor_props(void)
{
did_change_cursor = FALSE;
term_cursor_color((char_u *)"");
term_cursor_blink(FALSE);
/* this will restore the initial cursor style, if possible */
ui_cursor_shape_forced(TRUE);
}