Re: Re: [Patch] Set colours correctly when capturing pane and grid cell resets attribute

2014-09-17 Thread Nicholas Marriott
Or this which actually builds... diff --git a/grid.c b/grid.c index a84a58b..8f5a669 100644 --- a/grid.c +++ b/grid.c @@ -75,7 +75,7 @@ void grid_reflow_split(struct grid *, u_int *, struct grid_line *, u_int, void grid_reflow_move(struct grid *, u_int *, struct grid_line *); size_t grid_st

Re: Re: [Patch] Set colours correctly when capturing pane and grid cell resets attribute

2014-09-17 Thread Nicholas Marriott
Does this work? If we do this can probably drop lastattr too and maybe move the memcpy inside the _code func. diff --git a/grid.c b/grid.c index a84a58b..12ec643 100644 --- a/grid.c +++ b/grid.c @@ -477,7 +477,7 @@ grid_string_cells_bg(const struct grid_cell *gc, int *values) * bytes. */ voi

Re: [Patch] Set colours correctly when capturing pane and grid cell resets attribute

2014-09-17 Thread Nicholas Marriott
If the cell is default fg/bg, won't this add \e[0m\e[39m\[49m? The two colour changes are unnecessary. On Tue, Sep 16, 2014 at 06:39:38PM +, Matthew Darby wrote: >Hi, >grid_string_cells_code in grid.c currently resets all attributes when it >finds the current cell lacks an attribu

Re: make install fix for VPATH builds when MANFORMAT=man

2014-09-17 Thread Nicholas Marriott
This was fixed already in April. On Tue, Sep 16, 2014 at 12:25:21PM -0600, Peter Schow wrote: > The following simple patch addresses a "make install" failure > when MANFORMAT=man (default case on Solaris) during a VPATH > build (source tree != build tree). > > Thanks, > > Peter > > > --- ORIG

[Patch] Set colours correctly when capturing pane and grid cell resets attribute

2014-09-17 Thread Matthew Darby
Hi, grid_string_cells_code in grid.c currently resets all attributes when it finds the current cell lacks an attribute from the previous cell. Remaining non-colour attributes seem to be well-looked after, but any colours set are lost. The supplied patch restores the colours from the previous

[tmux:tickets] #157 has-session is misleading

2014-09-17 Thread eydaimon
--- ** [tickets:#157] has-session is misleading** **Status:** open **Created:** Wed Sep 17, 2014 06:48 AM UTC by eydaimon **Last Updated:** Wed Sep 17, 2014 06:48 AM UTC **Owner:** nobody If I do: tmux new -s hobbit tmux has-sessinon -t hobbit will return 0 and that's ok but tmux new -s