Re: [dev] [st] revised mouse handling/reporting

2011-06-08 Thread Aurélien Aptel
On Wed, Jun 8, 2011 at 10:17 PM, Bert Münnich wrote: > I'm using a light background, so I didn't notice these differences--I > guess I have to test things a bit more in the future... > >> The problem is that st has no way to tell the default bg from black >> (if your default bg is black). See seco

Re: [dev] [st] revised mouse handling/reporting

2011-06-08 Thread Bert Münnich
On 08.06.11, Aurélien Aptel wrote: > On Fri, Jun 3, 2011 at 12:41 PM, Bert Münnich wrote: > > rxvt-unicode is a lot more simpler. It behaves in the same way as my > > patch: simply reversing the default fg and bg colors. All the others fg > > and bg colors remain untouched. > > ok > > > A nice e

Re: [dev] [st] revised mouse handling/reporting

2011-06-08 Thread Aurélien Aptel
Thanks for all the patches :) I've created a new terminal states (MODE_xxx) for the different kind of mouse reporting instead of the global var. I've also removed the first MODE_MOUSE check from mousereport() since it's tested by every calling function that uses it. Tell me if everything works corr

Re: [dev] [st] revised mouse handling/reporting

2011-06-08 Thread Aurélien Aptel
oops, second screenshot attached. <>

Re: [dev] [st] revised mouse handling/reporting

2011-06-08 Thread Aurélien Aptel
On Fri, Jun 3, 2011 at 12:41 PM, Bert Münnich wrote: > rxvt-unicode is a lot more simpler. It behaves in the same way as my > patch: simply reversing the default fg and bg colors. All the others fg > and bg colors remain untouched. ok > A nice example to see the difference is alsamixer, which us

Re: [dev] [st] revised mouse handling/reporting

2011-06-03 Thread Bert Münnich
On 03.06.11, Aurélien Aptel wrote: > On Thu, Jun 2, 2011 at 2:28 PM, pancake wrote: > > I wonder if those patches are going to be commited.. I find them right. > > But it's about the third patch in a week without any reply.. > > I've already committed some of them them locally, not finished yet.

Re: [dev] [st] revised mouse handling/reporting

2011-06-03 Thread Aurélien Aptel
On Thu, Jun 2, 2011 at 2:28 PM, pancake wrote: > I wonder if those patches are going to be commited.. I find them right. > But it's about the third patch in a week without any reply.. I've already committed some of them them locally, not finished yet. The reverse video one doesn't behave like xt

Re: [dev] [st] revised mouse handling/reporting

2011-06-02 Thread pancake
I wonder if those patches are going to be commited.. I find them right. But it's about the third patch in a week without any reply.. /me pings Aurélien? On 06/02/11 12:51, Bert Münnich wrote: Hi, the attached patch resolves some minor issues of mouse handling and changes some of its behaviour

[dev] [st] revised mouse handling/reporting

2011-06-02 Thread Bert Münnich
Hi, the attached patch resolves some minor issues of mouse handling and changes some of its behaviours: * Fixed: double-clicking on first word of a line does not select it * Text is only selected with Button1; pasting when Button2 is released (maybe in the future: Button3 to expand the curre