Patch 7.4.2211
Problem:    Mouse support is not automatically enabled with simple term.
Solution:   Recognize "st" and other names. (Manuel Schiller, closes #963)
Files:      src/os_unix.c


*** ../vim-7.4.2210/src/os_unix.c       2016-07-16 21:52:42.210088767 +0200
--- src/os_unix.c       2016-08-14 18:11:46.529356563 +0200
***************
*** 2259,2265 ****
  use_xterm_like_mouse(char_u *name)
  {
      return (name != NULL
!           && (term_is_xterm || STRNICMP(name, "screen", 6) == 0));
  }
  #endif
  
--- 2259,2269 ----
  use_xterm_like_mouse(char_u *name)
  {
      return (name != NULL
!           && (term_is_xterm
!               || STRNICMP(name, "screen", 6) == 0
!               || STRICMP(name, "st") == 0
!               || STRNICMP(name, "st-", 3) == 0
!               || STRNICMP(name, "stterm", 6) == 0));
  }
  #endif
  
*** ../vim-7.4.2210/src/version.c       2016-08-14 17:32:45.478782648 +0200
--- src/version.c       2016-08-14 18:23:02.735168054 +0200
***************
*** 765,766 ****
--- 765,768 ----
  {   /* Add new patch number below this line */
+ /**/
+     2211,
  /**/


-- 
Bypasses are devices that allow some people to dash from point A to
point B very fast while other people dash from point B to point A very
fast.  People living at point C, being a point directly in between, are
often given to wonder what's so great about point A that so many people
from point B are so keen to get there and what's so great about point B
that so many people from point A are so keen to get there.  They often
wish that people would just once and for all work out where the hell
they wanted to be.
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

 /// Bram Moolenaar -- [email protected] -- 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui