Re: move-window doesn't work with -r

2015-04-01 Thread Jan Larres
On 02/04/15 09:10, Thomas Adam wrote: > On Wed, Apr 01, 2015 at 04:01:56PM +1300, Jan Larres wrote: >> Okay, after some experimenting I finally understood how the -r option works: >> it renumbers the windows in the target session. I think that could use some >> clarification in the man page. > > I'

Re: patch for setting pane background color

2015-04-01 Thread Nicholas Marriott
Hi This looks good. I've made a few changes, notably adding a tty_draw_pane wrapper around tty_draw_line since it is mostly called with wp->screen. Also I think there is no reason -g and -P can't be used together. We'll need both these diffs together or it won't work in tmux itself so I've put t

Re: move-window doesn't work with -r

2015-04-01 Thread Thomas Adam
On Wed, Apr 01, 2015 at 04:01:56PM +1300, Jan Larres wrote: > On 01/04/15 12:53, Thomas Adam wrote: > > Renumbering of winlinks only happens when the winlink is > > killed/destroyed (assuming renumber-windows session option). The point > > of 'movew -r' is solely to renumber the winlinks. You ca

Re: [PATCH] Update environment when switching sessions

2015-04-01 Thread Si Beaumont
On Wed, 01 Apr 2015 at 01:24, Thomas Adam wrote: > On Tue, Mar 31, 2015 at 08:56:15AM +0100, Si Beaumont wrote: > > + update = options_get_string(&global_s_options, > > "update-environment"); > > I think you want &s->options here, no? Ah, yes! Sorry I think I cribbed from the w