they don't mean the same thing, the first one is the key, the second is
the window index. try it with more than 10 windows

choose-* should support -F and go through the format code, look at how
list-windows does it



On Mon, Feb 27, 2012 at 11:47:37AM -0800, antho...@alumni.caltech.edu wrote:
> Hi,
> 
>   I'm trying to transition my setup from screen to tmux.  In screen I had
> the following setup
> 
> windowlist title  'Num Name%35=Status%=Flags'
> windowlist string '%3n %t%35=%h%=%f'
> 
> This along with some zsh/bash trickery around preexec and precmd
> allows me to have the screen windowlist look like this
> 
> Num Name                    Status                                        
> Flags
> 
>   0 molinaro@office         vim bar
>   1 molinaro@nymem          vim foo
> 
> With fixed column widths, and the commands currently running shown along
> with flags.
> 
> Right now it looks like
> 
> (0)   1: molinaro@office- [80x51] (1 panes) "vim bar"
> (1)   2: molinaro@nymem* [80x51] (1 panes) "vim foo"
> 
> Which in my mind is full of redundant information and characters which
> Idon't care about (like 2 sets of numbers one in parens and one out
> whichas far as I can tell represent the same thing, they differ in my case
> because I override the indexing to start at 1).  Also, terminal sizes and
> number of panes, extra double quotes, all see to add additional characters.
> Looking at the code, it appears that this is all hardcoded, but I wanted
> to ask here to make sure, so is there no way to specify the format of
> choose-window?
> 
> If there isn't currently a way to do this, are there thoughts on how it
> could be done?
> 
> Thanks,
> 
> -Anthony
> 
> --
> ------------------------------------------------------------------------Anthony
> Molinaro                           <antho...@alumni.caltech.edu>
> 
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to