Felix Rosencrantz <f.rosencra...@gmail.com> writes:

> I use the "tmux server-info" command to extract details about windows
> and sessions from the "Sessions:", to put information in my prompt.
> But my parsing script is somewhat brittle since the format of the
> output is not standard.
>
> Tmux is changing so there will be a need to change the output of the
> server-info command. I wonder if it would be possible to print the
> server-info output in a format that is  easier to parse (e.g. yaml) by
> code,  and as additional details need to be added or removed from the
> output, existing parse code wouldn't need to change (or at least less
> frequently).

+1

http://chneukirchen.org/dotfiles/bin/tmux-neww-in-cwd was really tricky
to write.  (Perhaps display-message also could directly display the pty...)

-- 
Christian Neukirchen  <chneukirc...@gmail.com>  http://chneukirchen.org


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to