Re: mode-mouse - double click word/string/path selection

2014-05-24 Thread Balazs Kezes
So I used tmux with my mouse changes for a week. There are two annoyances with the previous patch. When you single click in pane which is not listening for mouse events it automatically enters the copy mode. This is very annoying because I often use mouse to select a pane. So I've made modification

Re: [tmux:tickets] #120 Alt+Arrow binding no longer respected in 1.9

2014-05-24 Thread Balazs Kezes
On 2014-05-23 12:48 +0100, Nicholas Marriott wrote: > I think this can be made neater by making xterm_keys_modifiers do all > the work directly rather than searching for the _ all over again, > please look at this: Yes, this approach looks much nicer, thanks! Two nits: > + if (buf[*pos] < '0'

Re: [PATCH] Mouse wheel support v6

2014-05-24 Thread Balazs Kezes
On 2014-05-23 11:59 +0100, Nicholas Marriott wrote: > Shouldn't we instead reset m->button when the mouse wheel is used? Yep, that works as well. I've chosen 3 as the reset value because that's what I've seen in server_client_create as initialization value. Here's the patch: diff --git a/tty-keys

Re: [PATCH] Fix off by one error

2014-05-24 Thread Balazs Kezes
On 2014-05-23 11:58 +0100, Nicholas Marriott wrote: > Can you give me an example? It seems fine to me. Sure. I've attached a screenshot. In the top part you can see that I've selected "quis nostrud" and it is highlighted correctly. But when I press up, the selection changes to "... quis nostru". T