Loading ...
Sorry, an error occurred while loading the content.
 

Re: Vim60aa - problem with guicursor on GTK [patch]

Expand Messages
  • Bram Moolenaar
    ... It seems to happen when blinking is disabled. This patch should fix it: ... *************** ... { cursor_on(); out_flush(); + #ifdef FEAT_GUI + if
    Message 1 of 6 , Apr 5 5:16 AM
      Ron Aaron wrote:

      > I have my guicursor set to:
      >
      > n-v-c:block-Cursor,ve:ver35-Cursor,o:hor50-Cursor,i-ci:ver25-Cursor,r-cr:hor20-Cursor,sm:block-Cursor,a:blinkon0
      >
      > and it was working up until 60aa. Now it does very strange things (the cursor
      > disappears, for instance, in insert mode).

      It seems to happen when blinking is disabled. This patch should fix it:

      *** getchar.c.orig Wed Apr 4 19:19:05 2001
      --- getchar.c Thu Apr 5 14:09:00 2001
      ***************
      *** 2332,2337 ****
      --- 2332,2341 ----
      {
      cursor_on();
      out_flush();
      + #ifdef FEAT_GUI
      + if (gui.in_use)
      + gui_update_cursor(FALSE, FALSE);
      + #endif
      }

      /*

      --
      On the other hand, you have different fingers.
      -- Steven Wright

      /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
      ((( Creator of Vim - http://www.vim.org -- ftp://ftp.vim.org/pub/vim )))
      \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
    Your message has been successfully submitted and would be delivered to recipients shortly.