Re: tmux-double-click-on-status-line-opens-new-window.patch

2011-07-03 Thread marcel partap
Thx, already had been looking at the received event without sign of modifier: int k; for (k=1; k<512; k*=2) log_debug("%s %d: (mouse.b & %d)=%d, (last_mouse.b & %d)=%d", __func__, __LINE__, k, (mouse->b & k), k, (c->last_mouse.b & k)); http://invisible-island.net/xterm/ctlseqs/ctlseqs.html

Re: tmux-double-click-on-status-line-opens-new-window.patch

2011-07-03 Thread Nicholas Marriott
Look at http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#Mouse%20Tracking On Sun, Jul 03, 2011 at 10:48:35PM +0200, marcel partap wrote: > Well but what IS the > [...] way to receive mouse button AND modifier [...] > ? > >Eh?

Re: tmux-double-click-on-status-line-opens-new-window.patch

2011-07-03 Thread marcel partap
Well but what IS the [...] way to receive mouse button AND modifier [...] ? > Eh? -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application perfo

Re: tmux-double-click-on-status-line-opens-new-window.patch

2011-07-03 Thread Nicholas Marriott
Eh? Just break the code out into a helper function and pass in whatever you need from server_client_handle_key. On Sun, Jul 03, 2011 at 10:00:47PM +0200, marcel partap wrote: > .. > >- I think the big bit added to server_client_handle_key would be better > > in a separate function. > That kind

Re: tmux-double-click-on-status-line-opens-new-window.patch

2011-07-03 Thread marcel partap
.. > - I think the big bit added to server_client_handle_key would be better >in a separate function. That kinda depends on if it there is... >> [...] a way to receive mouse button AND modifier [...] .. (: -- All of th

Re: Ring terminal bell on alert

2011-07-03 Thread Nicholas Marriott
Applied to OpenBSD, thanks. On Sun, Jun 26, 2011 at 01:35:16PM +0200, Marco Beck wrote: > Hi, > > On Thu, Jun 23, 2011 at 10:56:28AM +0100, Nicholas Marriott wrote: > > > This looks okay but the options code has changed for tmux SVN. Can you > > provide a diff against the top of SVN? > > > > Al

Re: tmux-double-click-on-status-line-opens-new-window.patch

2011-07-03 Thread Nicholas Marriott
Hi Thanks. Some minor nits: - I think the big bit added to server_client_handle_key would be better in a separate function. - return should have brackets - return (-1) not return -1. On Sun, Jul 03, 2011 at 03:58:31AM +0200, marcel partap wrote: > ...With this, a double click on the status