Menu

#65 Mouse support beyond column 223

open
nobody
None
5
2015-08-08
2013-01-28
No

Due to the limitation of the default mouse protocol of terminals, clicks can only be reported up to row/column 223 or 256 (depending on terminal). There's an extension (SGR 1006) which is getting quite widespread across terminals and overcomes this limitation.

The attached patch adds this feature to w3m, so from now on you can click anywhere even on large terminals.

An attempt to enable the 1006 extension is a no-op on terminals that don't support it, but switches to the new protocols on terminals that speak it. The two protocols are perfectly distinguishable, so enabling it can happen automatically, without requiring config options or any other user action.

Discussion

  • Egmont Koblinger

     
  • Tatsuya Kinoshita

    Fixed off-by-one by IWAMOTO Kouichi.

    cf. https://github.com/tats/w3m/issues/5

     
  • Tatsuya Kinoshita

    Also, portions of Egmont's patch have been merged in Debian.

     

Log in to post a comment.