diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-17 21:13:01 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-17 21:13:01 +0200 |
commit | 2695de63e370235c4d3d73e3fe07cc1006de3460 (patch) | |
tree | 5f3b554b485a9f65d3e0e3030e0a79b58303f72b /src/os_win32.c | |
parent | aa82259fef8d08326029c580282b417790230e93 (diff) | |
download | vim-git-2695de63e370235c4d3d73e3fe07cc1006de3460.tar.gz |
patch 8.2.0592: MS-Windows with VTP: cursor is not made invisiblev8.2.0592
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)
Diffstat (limited to 'src/os_win32.c')
-rw-r--r-- | src/os_win32.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index b3e706164..143dab907 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -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 |