To: vim_dev@googlegroups.com Subject: Patch 8.2.0592 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.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) Files: src/os_win32.c *** ../vim-8.2.0591/src/os_win32.c 2020-04-15 21:05:27.216645430 +0200 --- src/os_win32.c 2020-04-17 21:10:47.727320697 +0200 *************** *** 5996,6001 **** --- 5996,6005 ---- 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 *** ../vim-8.2.0591/src/version.c 2020-04-17 20:48:51.294786862 +0200 --- src/version.c 2020-04-17 21:12:30.979050519 +0200 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 592, /**/ -- Back off man, I'm a scientist. -- Peter, Ghostbusters /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///