comparison src/os_win32.c @ 20073:a2124c6d5e6e v8.2.0592

patch 8.2.0592: MS-Windows with VTP: cursor is not made invisible Commit: https://github.com/vim/vim/commit/2695de63e370235c4d3d73e3fe07cc1006de3460 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 17 21:13:01 2020 +0200 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)
author Bram Moolenaar <Bram@vim.org>
date Fri, 17 Apr 2020 21:15:03 +0200
parents 678cdef2d690
children b378f860d4ab
comparison
equal deleted inserted replaced
20072:600392f545f9 20073:a2124c6d5e6e
5994 */ 5994 */
5995 static void 5995 static void
5996 cursor_visible(BOOL fVisible) 5996 cursor_visible(BOOL fVisible)
5997 { 5997 {
5998 s_cursor_visible = fVisible; 5998 s_cursor_visible = fVisible;
5999
6000 if (USE_VTP)
6001 vtp_printf("\033[?25%c", fVisible ? 'h' : 'l');
6002
5999 # ifdef MCH_CURSOR_SHAPE 6003 # ifdef MCH_CURSOR_SHAPE
6000 mch_update_cursor(); 6004 mch_update_cursor();
6001 # endif 6005 # endif
6002 } 6006 }
6003 6007