On Tue, Dec 28, 2010 at 07:56:26PM +0000, Nicholas Marriott wrote:
> The best thing rather than messing around with a union or long might be
> to make the closure for the choose callback a struct which has the stuff
> to identify session and window and client, then each command just uses
> whichever of those it likes.

I wanted to do that, but IIRC that would mean a change of return value from
window_choose_add() which is then a change in API from other commands which
use this (find-window, for instance.)  Are you saying this impact is OK?  It
would make it easier to do it there, IMO.

Thanks for the other comments, I'll look into those in a moment and see what
I can come up with for round two.

-- Thomas Adam

-- 
"It was the cruelest game I've ever played and it's played inside my head."
-- "Hush The Warmth", Gorky's Zygotic Mynci.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to