Binding C-\;

2012-11-18 Thread Matthew Monaco
Hello, I noticed that binding C-; is not possible, even when commented as C-\; I'd like to add support for this, but I'm a little unsure as to how tmux handles non-alphanumeric characters. An else if (key == ';') is needed at the block in input-keys.c:173. But since space+alphabet are 0,1,2,... I

Re: Binding C-\;

2012-11-18 Thread Thomas Adam
Hi, On 18 November 2012 18:28, Matthew Monaco wrote: > Hello, > > I noticed that binding C-; is not possible, even when commented as C-\; I'd > like > to add support for this, but I'm a little unsure as to how tmux handles > non-alphanumeric characters. > > An else if (key == ';') is needed at t

Re: Binding C-\;

2012-11-18 Thread Matthew Monaco
On 11/18/2012 12:03 PM, Thomas Adam wrote: > Hi, > > On 18 November 2012 18:28, Matthew Monaco wrote: >> Hello, >> >> I noticed that binding C-; is not possible, even when commented as C-\; I'd >> like >> to add support for this, but I'm a little unsure as to how tmux handles >> non-alphanumeric

Re: Seting the terminal title from tmux

2012-11-18 Thread Adrian Luff
Answered my own question. Here's the working line to output to an xterm compatible title from inside tmux: > printf '\ePtmux;\e\e]2;%s\e\e\\' "$*" Part of the issue was the Mac Terminal's built-in update_terminal_cwd function. This sets the URL for the Terminal application's titlebar. It was (in

Re: [PATCH 0/1] Hook support: proof-of-concept

2012-11-18 Thread Thomas Adam
Hi, [ I've not forgotten about this, in case anyone was wondering. ] On Tue, Nov 06, 2012 at 12:48:54PM +, Nicholas Marriott wrote: > On Sun, Nov 04, 2012 at 01:22:50AM +, Thomas Adam wrote: > > To "fix" this, we would need to change where and how hooks are run from, > > much like the