The cursor disappears after the processing of the 'setDot' netbeans
command when vim runs in a terminal. Any further action (such as a
movement key) turns back on the cursor.

The attached patch to the current vim 7.3.138 fixes this problem.

--
Xavier

Les Chemins de Lokoti: http://lokoti.alwaysdata.net

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
diff --git a/src/netbeans.c b/src/netbeans.c
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -191,6 +191,7 @@
     changed_window_setting();
     update_screen(CLEAR);
     setcursor();
+    cursor_on();
     out_flush();
 #ifdef FEAT_GUI
     if (gui.in_use)
@@ -2248,6 +2249,7 @@
 	    update_topline();		/* scroll to show the line */
 	    update_screen(VALID);
 	    setcursor();
+	    cursor_on();		/* redrawing may have switched it off */
 	    out_flush();
 #ifdef FEAT_GUI
 	    if (gui.in_use)
@@ -2642,6 +2644,7 @@
     {
 	update_screen(NOT_VALID);
 	setcursor();
+        cursor_on();	    /* redrawing may have switched it off */
 	out_flush();
 #ifdef FEAT_GUI
 	if (gui.in_use)
@@ -3008,6 +3011,7 @@
     changed_window_setting();
     update_screen(CLEAR);
     setcursor();
+    cursor_on();
     out_flush();
 #ifdef FEAT_GUI
     if (gui.in_use)

Raspunde prin e-mail lui