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.
Is anything else going to use add_item function? On Sat, Jul 21, 2012 at 11:24:49AM +0100, Thomas Adam wrote: > Hi, > > This adds a choose-list command, allowing user menus to be created. > > Hopefully fairly self-explanatory. > > Any questions, please do ask. > > Kindly, > > -- Thomas Adam > > Thomas Adam (4): > Introduce window_choose_add_item() > Add cmd-choose-list.c > Build cmd-choose-list.c by adding to Makefile.am > Add choose-list to man page > > trunk/Makefile.am | 1 + > trunk/cmd-choose-list.c | 125 > +++++++++++++++++++++++++++++++++++++++++++++++ > trunk/cmd.c | 1 + > trunk/tmux.1 | 27 ++++++++++ > trunk/tmux.h | 4 ++ > trunk/window-choose.c | 33 +++++++++++++ > 6 files changed, 191 insertions(+) > create mode 100644 trunk/cmd-choose-list.c > > -- > 1.7.10 > > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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