gnachman/iTerm2 — pull request #82 by saitoha (2012-06-02 11:34:56+00:00)
Title: support SGR (1006) style mouse reporting

This supports SGR (1006) style mouse reporting, proposed by xterm's side.

Some people regard it as "better technical solution than SGR 1015".

How do you think?

ref:
http://vim.1045645.n5.nabble.com/Fwd-Mouse-reporting-and-new-standards-td3378370.html

---

If you want to try this feature, apply this patch(https://gist.github.com/2857753) to vim default branch, and set ttymouse=sgr.
With this mode, vim will be able to accept both X10 and SGR scheme mouse reporting.
If the terminal does not supports SGR 1006 style mouse reporting, It will seamlessly fall-back to normal reporting mode and do X10 scheme decoding.