On Sat, Jul 21, 2012 at 07:15:29PM +0100, Thomas Adam wrote:
> ---
>  trunk/cmd-choose-tree.c |    6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/trunk/cmd-choose-tree.c b/trunk/cmd-choose-tree.c
> index b33bf34..46d940d 100644
> --- a/trunk/cmd-choose-tree.c
> +++ b/trunk/cmd-choose-tree.c
> @@ -149,7 +149,8 @@ cmd_choose_tree_exec(struct cmd *self, struct cmd_ctx 
> *ctx)
>        * without any padding.
>        */
>       if (wflag && sflag)
> -             xasprintf(&final_win_template, "    --> %s", win_template);
> +             xasprintf(&final_win_template, "(#{line})    --> %s",

Unfortunately, this will render windows in choose-tree a little oddly, since
this uses the DEFAULT_WINDOW_TEMPLATE which already has "(#{line})" in it.
If you really want, create a CMD_CHOOSE_WINDOW_TEMPLATE define to override
this, but it becomes a little ugly at this point.

So am not sure what to suggest.  Have sent a separate email regarding
default window/session templates to gather ideas.

-- Thomas Adam

-- 
"Deep in my heart I wish I was wrong.  But deep in my heart I know I am
not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to