Re: tmux 1.8 crash on font resize

2013-05-15 Thread Nicholas Marriott
Actually I think this is right so I have applied a slight variation on your diff, thanks. On Tue, Apr 16, 2013 at 09:27:08AM -0700, Christopher Collins wrote: >On Tue, Apr 16, 2013 at 2:36 AM, Nicholas Marriott ><[1]nicholas.marri...@gmail.com> wrote: > >>*** Can you show the code yo

Re: tmux 1.8 crash on font resize

2013-04-16 Thread Christopher Collins
On Tue, Apr 16, 2013 at 2:36 AM, Nicholas Marriott wrote: >Can you show the code you changed rather than making me guess? :-) That would have been a sensible detail to include! Here is what I changed. I don't know what this change might break. --- ../temp/tmux-1.8/screen.c 2013-02-24 04:

Re: tmux 1.8 crash on font resize

2013-04-16 Thread Nicholas Marriott
Hi Can you show the code you changed rather than making me guess? :-) Are you increasing or decreasing the font size when this happens? Ie does the number of rows shrink or grow? I think screen_resize_y should be changed to prevent s->cy going negative. Obviously something later on (after screen