0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

updated for version 7.3.149

Problem:    The cursor disappears after the processing of the 'setDot'
            netbeans command when vim runs in a terminal.
Solution:   Show the cursor after a screen update. (Xavier de Gaye, 2011
This commit is contained in:
Bram Moolenaar
2011-04-01 15:33:59 +02:00
parent 42431a7aa0
commit 96bcc5e6cd
2 changed files with 6 additions and 0 deletions

View File

@@ -191,6 +191,7 @@ netbeans_close(void)
changed_window_setting(); changed_window_setting();
update_screen(CLEAR); update_screen(CLEAR);
setcursor(); setcursor();
cursor_on();
out_flush(); out_flush();
#ifdef FEAT_GUI #ifdef FEAT_GUI
if (gui.in_use) if (gui.in_use)
@@ -2248,6 +2249,7 @@ nb_do_cmd(
update_topline(); /* scroll to show the line */ update_topline(); /* scroll to show the line */
update_screen(VALID); update_screen(VALID);
setcursor(); setcursor();
cursor_on();
out_flush(); out_flush();
#ifdef FEAT_GUI #ifdef FEAT_GUI
if (gui.in_use) if (gui.in_use)
@@ -2642,6 +2644,7 @@ nb_do_cmd(
{ {
update_screen(NOT_VALID); update_screen(NOT_VALID);
setcursor(); setcursor();
cursor_on();
out_flush(); out_flush();
#ifdef FEAT_GUI #ifdef FEAT_GUI
if (gui.in_use) if (gui.in_use)
@@ -3008,6 +3011,7 @@ netbeans_open(char *params, int doabort)
changed_window_setting(); changed_window_setting();
update_screen(CLEAR); update_screen(CLEAR);
setcursor(); setcursor();
cursor_on();
out_flush(); out_flush();
#ifdef FEAT_GUI #ifdef FEAT_GUI
if (gui.in_use) if (gui.in_use)

View File

@@ -714,6 +714,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 */
/**/
149,
/**/ /**/
148, 148,
/**/ /**/