urxvt 1015/SGR 1006 style mouse reporting

Anonymous
2012-06-05
2013-05-13

  • Anonymous
    2012-06-05

    Hello.

    Now Poderosa supports UTF8 style extended mouse tracking protocol,
    but it does not works if the locale encoding isn't UTF-8, it won't report positions past 50x95.
    So I write a patch(https://gist.github.com/2875648), it supports more better extended mouse tracking
    modes called as urxvt / SGR style.

    The detail of them are explained in xterm's manual:
    http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#Mouse%20Tracking

    Hope you find this useful :)

     
  • Iwasa Kazmi
    Iwasa Kazmi
    2012-06-06

    Thank you.

    I will check your patch this weekend.

     
  • This patch looks really useful. These protocol extension are getting widely used by applications, e.g. vim, emacs, midnight commander etc…

    A minor typo in the patch:
      case "1015": // Enable UTF8 Extended Mouse Mode
    should be
      case "1015": // Enable Urxvt Extended Mouse Mode
    (this extension has nothing to do with UTF-8)