Created
November 24, 2012 05:29
-
-
Save saitoha/4138554 to your computer and use it in GitHub Desktop.
Vim - Fix termresponse's auto-recognization issue (caused by patch 7.3.699 https://groups.google.com/forum/#!topic/vim_dev/u7c-Ad4xKrU)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff -r fcca64585e2a src/term.c | |
| --- a/src/term.c Fri Nov 23 21:54:48 2012 +0100 | |
| +++ b/src/term.c Sat Nov 24 14:25:45 2012 +0900 | |
| @@ -4081,7 +4081,7 @@ | |
| { | |
| /* Only set 'ttymouse' automatically if it was not set | |
| * by the user already. */ | |
| - if (!option_was_set((char_u *)"ttym")) | |
| + if (ttym_flags == TTYM_XTERM || !option_was_set((char_u *)"ttym")) | |
| { | |
| # ifdef TTYM_SGR | |
| if (extra >= 277) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment