1
0
forked from aniani/vim

patch 8.2.0592: MS-Windows with VTP: cursor is not made invisible

Problem:    MS-Windows with VTP: cursor is not made invisible.
Solution:   Output the code to make the cursor visible or invisible. (Nobuhiro
            Takasaki, closes #5941)
This commit is contained in:
Bram Moolenaar
2020-04-17 21:13:01 +02:00
parent aa82259fef
commit 2695de63e3
2 changed files with 6 additions and 0 deletions

View File

@@ -5996,6 +5996,10 @@ visual_bell(void)
cursor_visible(BOOL fVisible)
{
s_cursor_visible = fVisible;
if (USE_VTP)
vtp_printf("\033[?25%c", fVisible ? 'h' : 'l');
# ifdef MCH_CURSOR_SHAPE
mch_update_cursor();
# endif

View File

@@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
592,
/**/
591,
/**/