On Mon, Sep 03, 2012 at 11:03:10AM +0100, Nicholas Marriott wrote: > Hi > > Applied with a few tweaks - when something is const char * it means it > shouldn't be changed, even by strsep :-). So I made it copy it first.
Heh; yes, OK. I was being lazy. :) > Is anything else going to use add_item function? I had the idea that it would, yes. I see the idea of choose-list as generic enough to encompass the other choose-* commands, but I've not thought it through enough yet; at least not enough to form a patch series -- but I intend to after other tmux things have been submitted for review. Would you rather I put this in cmd-choose-list.c for now then? Kindly, -- Thomas Adam ------------------------------------------------------------------------------ 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