[PATCH] client_width/_height swapped

2012-02-01 Thread Stephen Thirlwall
Hi, I noticed that client_width and client_height were the wrong way around in format.c (in v1.6) Here's a trivial fix. Steve Index: format.c === --- format.c(revision 2691) +++ format.c(working copy) @@ -303,8 +303,8 @@

Re: [PATCH] client_width/_height swapped

2012-02-01 Thread Nicholas Marriott
Fixed, thanks. On Thu, Feb 02, 2012 at 10:28:54AM +1100, Stephen Thirlwall wrote: > Hi, > > I noticed that client_width and client_height were the wrong way around > in format.c (in v1.6) > > Here's a trivial fix. > > Steve > > > Index: format.c >

Re: patch - refactor setting window name into window_set_name

2012-02-01 Thread Nicholas Marriott
Hi I've applied this, thanks. I'll do the list-windows target, but I need to get some time to fiddle about and see how to do it, I can't decide on a nice way yet. On Tue, Jan 31, 2012 at 07:50:24PM -0800, George Nachman wrote: > This patch replaces the repeated pattern of freeing a window nam

Re: [PATCH] send-keys: Add optional `-l' flag

2012-02-01 Thread Nicholas Marriott
Applied, thanks! On Tue, Jan 31, 2012 at 06:20:13PM +0100, Frank Terbeck wrote: > If you want to send a string "C-a" to a pane, you have to do > > send-keys C - a > > ...or something similar; but certainly not "C-a", because that would be > looked up as a key name. While scripting, you probab

Patch - move initialization of tty size into a function

2012-02-01 Thread George Nachman
This is a trivial patch that paves the way for control mode to change the tty size without code duplication. Index: tmux.h === --- tmux.h (revision 2697) +++ tmux.h (working copy) @@ -1454,6 +1454,7 @@  void tty_pututf8(st