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:
@@ -5996,6 +5996,10 @@ visual_bell(void)
|
|||||||
cursor_visible(BOOL fVisible)
|
cursor_visible(BOOL fVisible)
|
||||||
{
|
{
|
||||||
s_cursor_visible = fVisible;
|
s_cursor_visible = fVisible;
|
||||||
|
|
||||||
|
if (USE_VTP)
|
||||||
|
vtp_printf("\033[?25%c", fVisible ? 'h' : 'l');
|
||||||
|
|
||||||
# ifdef MCH_CURSOR_SHAPE
|
# ifdef MCH_CURSOR_SHAPE
|
||||||
mch_update_cursor();
|
mch_update_cursor();
|
||||||
# endif
|
# endif
|
||||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
592,
|
||||||
/**/
|
/**/
|
||||||
591,
|
591,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user