-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Sun, Mar 04, 2012 at 03:01:51 GMT, George Nachman wrote: > Thanks for committing the previous patch. Here is a patch that adds a -F > format arg to new-window that can be used in conjunction with -P. Note that > it doesn't support any of the window pane format strings because it doesn't > seem to make sense in this context.
> + ft = format_create(); > + if (c != NULL) > + format_client(ft, c); > + format_session(ft, s); > + format_winlink(ft, s, wl); > + ctx->print(ctx, "%s", format_expand(ft, template)); Missing a format_free(ft) call. - --Ben -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCgAGBQJPUvpVAAoJEKaxavVX4C1XurMP/2Nw8r6qTYGrF+leVZOi5TAV TzspSjBRaD1HbOOgWOXD5XUeUr1vmRULUrXasDElmq+h60r5RSn7DqI8uMTgVI9P oM+ujF6UtkuO9wYz1YCQ1RheGlnvUVfej/Irf0zVra61moyvpYs0JAhA4N+1TZ2L 5Bq0fEnzDI5U63AUUsCUq1yA+jq4gZNOjwxyFP1IUVvZQz5GvvhmXL5lGAMdPyfb sCv8+RpN4HW0bvbaKpmXfBqWaREAKRFiDO2Y0cus+N0nmSKjNglfG5YVmDuV0G/Q XXmbK3mb1M3NH3Jiw21UWrCfBX8tejqG0+6uJ7DazYy8IHfm9i1B28FKGA1L4SS9 bs3sIwkuy3Gf2bcZeUZ5uhgHzRWVrAvNQPOoABN2XVZ3ouerq9xfdwp393JEfYFw xJeJM1khYq7P1aOiNFXamIJW77Raa1geCjZu4/ghaEVv+/Nn7vtExasu4Fj/7b7o Rx0gsr2OIAdbvg8O5RYkT4pylsEW6hwOK7vg2RJz1/2DH0XprU5eiU8sFTNGKLE0 qgDLJzDaWtXeCz9SiXZ5d3op4tdir0SFuoXK2g9DavYzFcslvJPszDdpFNmELHml 52daYKBwGq6LlyXHRtCXeyCpHuFsCgGxZp9beOVtV53ihbimk4Bbh8qcT/MaFyhl JhUQJvi9umAwpXvYmFaq =67XL -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users