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

Patch 7.3.1281

Expand Messages
  • Bram Moolenaar
    Patch 7.3.1281 Problem: When ttymouse is set to xterm2 clicking in column 123 moves the cursor to column 96. (Kevin Goodsell) Solution: Decode KE_CSI.
    Message 1 of 1 , Jul 1 11:06 AM
    • 0 Attachment
      Patch 7.3.1281
      Problem: When 'ttymouse' is set to "xterm2" clicking in column 123 moves
      the cursor to column 96. (Kevin Goodsell)
      Solution: Decode KE_CSI.
      Files: src/term.c


      *** ../vim-7.3.1280/src/term.c 2013-06-30 17:51:46.000000000 +0200
      --- src/term.c 2013-07-01 19:58:02.000000000 +0200
      ***************
      *** 2947,2954 ****
      return -1;
      if (buf[len++] == (int)KS_ZERO)
      c = NUL;
      ! ++len; /* skip KE_FILLER */
      ! /* else it should be KS_SPECIAL, and c already equals K_SPECIAL */
      }
      else if (c == CSI && buf[len] == KS_EXTRA
      && buf[len + 1] == (int)KE_CSI)
      --- 2947,2956 ----
      return -1;
      if (buf[len++] == (int)KS_ZERO)
      c = NUL;
      ! /* else it should be KS_SPECIAL; when followed by KE_FILLER c is
      ! * K_SPECIAL, or followed by KE_CSI and c must be CSI. */
      ! if (buf[len++] == (int)KE_CSI)
      ! c = CSI;
      }
      else if (c == CSI && buf[len] == KS_EXTRA
      && buf[len + 1] == (int)KE_CSI)
      *** ../vim-7.3.1280/src/version.c 2013-06-30 23:24:03.000000000 +0200
      --- src/version.c 2013-07-01 20:00:11.000000000 +0200
      ***************
      *** 730,731 ****
      --- 730,733 ----
      { /* Add new patch number below this line */
      + /**/
      + 1281,
      /**/

      --
      ARTHUR: Be quiet!
      DENNIS: Well you can't expect to wield supreme executive power just 'cause
      some watery tart threw a sword at you!
      ARTHUR: Shut up!
      DENNIS: I mean, if I went around sayin' I was an empereror just because some
      moistened bint had lobbed a scimitar at me they'd put me away!
      The Quest for the Holy Grail (Monty Python)

      /// Bram Moolenaar -- Bram@... -- 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 ///

      --
      --
      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

      ---
      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    Your message has been successfully submitted and would be delivered to recipients shortly.