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

DEC style mouse doesn't work correctly

Expand Messages
  • uribarri_u@tsm.es
    When the terminal uses the page field of the locator(mouse) position report, which is optional, vim doesn t recognize it as a valid locator position report.
    Message 1 of 2 , Apr 29, 2003
    • 0 Attachment
      When the terminal uses the page field of the locator(mouse) position
      report, which is optional, vim doesn't recognize it as a valid locator
      position report.

      It's fixed by this patch:

      *** term.c.orig Tue Apr 29 17:16:40 2003
      --- term.c Tue Apr 29 17:16:34 2003
      ***************
      *** 4273,4278 ****
      --- 4273,4279 ----
      if (*p == ';')
      {
      p++;
      + getdigits(&p);
      /* Pp = getdigits(&p); */
      }
      /* else
    • Bram Moolenaar
      ... Thanks for fixing this. It looks like the change to remove the unused Pp variable has caused the trouble. -- hundred-and-one symptoms of being an internet
      Message 2 of 2 , Apr 29, 2003
      • 0 Attachment
        Uribarri wrote:

        > When the terminal uses the page field of the locator(mouse) position
        > report, which is optional, vim doesn't recognize it as a valid locator
        > position report.
        >
        > It's fixed by this patch:
        >
        > *** term.c.orig Tue Apr 29 17:16:40 2003
        > --- term.c Tue Apr 29 17:16:34 2003
        > ***************
        > *** 4273,4278 ****
        > --- 4273,4279 ----
        > if (*p == ';')
        > {
        > p++;
        > + getdigits(&p);
        > /* Pp = getdigits(&p); */
        > }
        > /* else

        Thanks for fixing this. It looks like the change to remove the unused
        Pp variable has caused the trouble.

        --
        hundred-and-one symptoms of being an internet addict:
        96. On Super Bowl Sunday, you followed the score by going to the
        Yahoo main page instead of turning on the TV.

        /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
        /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
        \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
        \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///
      Your message has been successfully submitted and would be delivered to recipients shortly.