First off, I am aware that this was a problem for a while before the SGR spec. I have tried various configurations for urxvt/VIM/tmux and none seem to solve the issue. Also note that this is not an issue with any other term that I've tried - just urxvt.
Problem: With urxvt + tmux + VIM, when mouse support is enabled in VIM with: set mouse=a set ttymouse=sgr ...Clicking past column 223 in VIM will result in column X being selected, where X is <column #> minus 223. The ttymouse=sgr option is supposed to fix this, and it does, except in every scenario except the one I need (see below). Also note, that I say "Possible Bug", because I cannot narrow it down to tmux or urxvt at fault (again, see below). Scenario 1: vim inside of tmux inside of xterm Works as expected. Scenario 2: vim inside of xterm Works as expected. Scenario 3: vim inside of urxvt (no tmux) (with ttymouse=urxvt) Works as expected. Scenario 4: vim inside of urxvt (no tmux) (with ttymouse=sgr) ***does not work correctly*** https://www.youtube.com/watch?v=4tF56fIUIyc Scenario 5: vim inside of tmux inside of urxvt (with ttymouse=sgr) ***does not work correctly*** https://www.youtube.com/watch?v=4tF56fIUIyc Scenario 6: vim inside of tmux inside of urxvt (with ttymouse=urxvt) ***does not work correctly*** (no screencast - different issue; prints garbage characters on mouse button press) So, I am unsure how to proceed in debugging this issue. I need a bit of help determining if tmux, urxvt, or both are at fault here. I can provide any further information needed. The desired functionality is for either Scenario 5 or 6 to work - urxvt+tmux+vim.
_______________________________________________ rxvt-unicode mailing list [email protected] http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode
