{"action":"created","issue":{"url":"https://api.github.com/repos/wincent/terminus/issues/13","repository_url":"https://api.github.com/repos/wincent/terminus","labels_url":"https://api.github.com/repos/wincent/terminus/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/wincent/terminus/issues/13/comments","events_url":"https://api.github.com/repos/wincent/terminus/issues/13/events","html_url":"https://github.com/wincent/terminus/issues/13","id":134763208,"number":13,"title":"Mouse support does not work with old VIM/tmux versions.","user":{"login":"wanderer2","id":2006258,"avatar_url":"https://avatars.githubusercontent.com/u/2006258?v=3","gravatar_id":"","url":"https://api.github.com/users/wanderer2","html_url":"https://github.com/wanderer2","followers_url":"https://api.github.com/users/wanderer2/followers","following_url":"https://api.github.com/users/wanderer2/following{/other_user}","gists_url":"https://api.github.com/users/wanderer2/gists{/gist_id}","starred_url":"https://api.github.com/users/wanderer2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wanderer2/subscriptions","organizations_url":"https://api.github.com/users/wanderer2/orgs","repos_url":"https://api.github.com/users/wanderer2/repos","events_url":"https://api.github.com/users/wanderer2/events{/privacy}","received_events_url":"https://api.github.com/users/wanderer2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-19T03:43:34Z","updated_at":"2016-02-19T04:35:09Z","closed_at":null,"body":"Hello. Due to constraint not under my control, I have to get by with old versions of VIM and tmux. I work with VIM 7.3 (patches 1-315) and tmux 1.4.\r\n\r\nFor some reason, mouse does not work if I let Terminus set it up. If I do not load Terminus, and have `set mouse=a` with `set ttymouse=xterm`, it works. I don't understand why mouse doesn't work when I let Terminus load. When Terminus is loaded, does it do anything, other than setting these, that might interfere?"},"comment":{"url":"https://api.github.com/repos/wincent/terminus/issues/comments/186046336","html_url":"https://github.com/wincent/terminus/issues/13#issuecomment-186046336","issue_url":"https://api.github.com/repos/wincent/terminus/issues/13","id":186046336,"user":{"login":"wanderer2","id":2006258,"avatar_url":"https://avatars.githubusercontent.com/u/2006258?v=3","gravatar_id":"","url":"https://api.github.com/users/wanderer2","html_url":"https://github.com/wanderer2","followers_url":"https://api.github.com/users/wanderer2/followers","following_url":"https://api.github.com/users/wanderer2/following{/other_user}","gists_url":"https://api.github.com/users/wanderer2/gists{/gist_id}","starred_url":"https://api.github.com/users/wanderer2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wanderer2/subscriptions","organizations_url":"https://api.github.com/users/wanderer2/orgs","repos_url":"https://api.github.com/users/wanderer2/repos","events_url":"https://api.github.com/users/wanderer2/events{/privacy}","received_events_url":"https://api.github.com/users/wanderer2/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T04:35:09Z","updated_at":"2016-02-19T04:35:09Z","body":"Okay, a quick read of `:help ttymouse` reveals that VIM automatically picks the right choice between `xterm` and `xterm2` by checking the xterm version. Therefore, removing the else clause forcing `xterm2` resolves the problem. I tested in both my setups, and auto-detection does work in both. Created PR for the fix."}}