Re: [PATCH v2 2/4] Add definition for window_renumber_windows

2012-04-23 Thread Nicholas Marriott
I think this should go in session.c. On Sun, Apr 22, 2012 at 02:46:53PM +0100, Thomas Adam wrote: > This is responsible for reassigning new index numbers to the winlinks in a > given session. > --- > trunk/tmux.h |2 ++ > trunk/window.c | 45 +

Re: [PATCH v2 1/4] Add cmd-renumber-windows definition

2012-04-23 Thread Nicholas Marriott
Do we need a command at all or is the option enough? If a manual trigger is really useful, could this be a flag to move-window? On Sun, Apr 22, 2012 at 02:46:52PM +0100, Thomas Adam wrote: > This adds the definition file for the renumber-windows command, as well as > supporting its addition in t

Re: [PATCH 1/1] Add "window-status-separator" option

2012-04-23 Thread Nicholas Marriott
Applied, thanks. On Sun, Apr 22, 2012 at 05:44:14PM +0100, Thomas Adam wrote: > This allows for specifying the character(s) for separating windows on the > status line. > --- > trunk/options-table.c |5 + > trunk/status.c| 10 -- > trunk/tmux.1 |4 > 3

Re: [PATCH 1/1] Add -a option to kill-window

2012-04-23 Thread Nicholas Marriott
Applied, with one tweak - in the man page you need to use the .Xo/.Xc extended arguments to split arguments over multiple lines. Thanks. On Mon, Apr 23, 2012 at 04:16:11PM +0100, Thomas Adam wrote: > As with kill-pane, the "-a" flag will kill all windows but the window > referenced with -t. Wit

Re: [PATCH] fix cmd_print for commands with no arguments

2012-04-23 Thread Nicholas Marriott
Hi On Mon, Apr 23, 2012 at 02:24:54PM -0400, Benjamin Poirier wrote: > On 2012/04/22 06:24, Nicholas Marriott wrote: > > Applied, thanks! > > > > You're welcome. BTW, I came to fix this bug because I was looking for a > way to keep the tmux buffer 0 synchronized with the X clipboard with a > bin

Re: [PATCH] fix cmd_print for commands with no arguments

2012-04-23 Thread Benjamin Poirier
On 2012/04/22 06:24, Nicholas Marriott wrote: > Applied, thanks! > You're welcome. BTW, I came to fix this bug because I was looking for a way to keep the tmux buffer 0 synchronized with the X clipboard with a binding like this bind [ copy-mode \; run "tmux show-buffer | xclip -i -selection clip

[PATCH] fix cmd_print for commands with no arguments

2012-04-23 Thread Benjamin Poirier
Changes cmd_print to return an offset that does not include the trailing '\0' when the command has no arguments. --- One effect of this is that it allows bind-key to work with command sequences that contain commands with no arguments. For example, the following bind for R does not work without th

[PATCH 1/1] Add -a option to kill-window

2012-04-23 Thread Thomas Adam
As with kill-pane, the "-a" flag will kill all windows but the window referenced with -t. With no arguments to -t, or its absense, then the current window is used. --- cmd-kill-window.c | 18 +- tmux.1|8 +++- 2 files changed, 20 insertions(+), 6 deletions(-)

Re: patch to support 256 colors in fbterm

2012-04-23 Thread myxol
Any progress with this? I'm one of those who would like to see it implemented. Can't help with the patch though. -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your