Re: [PATCH 1/1]: Fix poor performance during mouse mode selection.

2014-12-10 Thread Michael Graczyk
Whoops, last message had the wrong attachment. This is the correct one. On Wed, Dec 10, 2014 at 3:54 PM, Michael Graczyk wrote: > Thanks Javier for the information. Good to know. > > Thomas, > > I removed "static" from the declaration. > > Bye the time window_copy_redraw_screen is called, the o

Re: [PATCH 1/1]: Fix poor performance during mouse mode selection.

2014-12-10 Thread Michael Graczyk
Thanks Javier for the information. Good to know. Thomas, I removed "static" from the declaration. Bye the time window_copy_redraw_screen is called, the old data->cy has already been clobbered so there is no way of determining which lines must be withdrawn. I made window_copy_for_selection it's

about the black screen problem when listing tmux sessions

2014-12-10 Thread 侍路登
Hi, I'm a loyal user of tmux. Recently, I was bothered by a problem that the black screen displays when listing many tmux sessions. Strangely, the session list displays normally when I am in the session whose number is small, but not when the session number is large. Yours sincerely Lvton

about the black screen problem when listing tmux sessions

2014-12-10 Thread 侍路登
Hi, I'm a loyal user of tmux. Recently, I was bothered by a problem that the black screen displays when listing many tmux sessions. Strangely, the session list displays normally when the session number is small, but not when the session number is large. Yours sincerely Lvton. Smith. ---

Re: [PATCH 1/1]: Fix poor performance during mouse mode selection.

2014-12-10 Thread Thomas Adam
On Tue, Dec 09, 2014 at 01:45:48AM -0800, Michael Graczyk wrote: > +static void We don't mark functions as static in tmux; not even for the portable version. > if (window_copy_update_selection(wp, 1)) > - window_copy_redraw_screen(wp); > +

Re: [PATCH 1/1]: Fix poor performance during mouse mode selection.

2014-12-10 Thread Javier Tia
>From 'git help format-patch': GMail does not have any way to turn off line wrapping in the web interface, so it will mangle any emails that you send. You can however use "git send-email" and send your patches through the GMail SMTP server, or use any IMAP email client to connect to the google IMA

Re: [PATCH 1/1]: Fix poor performance during mouse mode selection.

2014-12-10 Thread Michael Graczyk
I removed the unused argument and attached the patch. For future reference, any easy way to get gmail to not mangle patches? As for the data->cy temporary, the successive call to window_copy_update_cursor clobbers the y coordinate in data. Unless the y-coordinate is stored somewhere else (It doe